Mobile Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreMobile Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 10th, 2007, 12:20 PM
epetoke epetoke is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Location: London UK
Posts: 54 epetoke User rank is Sergeant (500 - 2000 Reputation Level)epetoke User rank is Sergeant (500 - 2000 Reputation Level)epetoke User rank is Sergeant (500 - 2000 Reputation Level)epetoke User rank is Sergeant (500 - 2000 Reputation Level)epetoke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 17 h 22 sec
Reputation Power: 10
Send a message via MSN to epetoke
Problem with jar mime type

I am having a problem downloading .jar files on my wap site. I think i set up the correct mime type in apache's mime.type file.

Code:
text/vnd.sun.j2me.app-descriptor jad
application/java-archive jar


This is the link i am using on my wap page:

Code:
<anchor>Download now
  <go href="contactslist.jar"/>
</anchor>


The download starts just fine but when it hits the 100% on my phone i get an error message "Operation Failed" and the download doesn't complete.

Any idea why this may be happening. I have restarted apache after updating the mime.types file and am quite clueless as to why this is happening.

Reply With Quote
  #2  
Old July 10th, 2007, 12:32 PM
epetoke epetoke is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Location: London UK
Posts: 54 epetoke User rank is Sergeant (500 - 2000 Reputation Level)epetoke User rank is Sergeant (500 - 2000 Reputation Level)epetoke User rank is Sergeant (500 - 2000 Reputation Level)epetoke User rank is Sergeant (500 - 2000 Reputation Level)epetoke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 17 h 22 sec
Reputation Power: 10
Send a message via MSN to epetoke
It's ok i have sorted the problem. I stupidly uploaded the jar files in ascii file format should have done it in binary. It's what people from my neck of the woods call a schoolboy error.
Comments on this post
jabba_29 agrees: Good for posting your solution though.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreMobile Programming > Problem with jar mime type


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT