|
Re: OTA for Nokia: msg#00179java.sun.kvm
Thanks! Jim and Claudio. -----Original Message----- From: Jim Mackraz [mailto:kvm-interest@xxxxxxxxxxxxx] Sent: Tuesday, September 23, 2003 12:19 PM To: KVM-INTEREST@xxxxxxxxxxxx Subject: Re: OTA for Nokia On Tue, 23 Sep 2003 11:21:36 +0800, "CHIN Vun Loon" <vlchin@xxxxxxxxxxxx> said: You need a full URL for the MIDlet-Jar-URL parameter on Nokia phones. You also need the web server configured to provide the right Content-Type for the JAD (and also the JAR for some phones/networks). This is from /etc/mime.types on a linux/apache server: text/vnd.sun.j2me.app-descriptor jad application/java-archive jar Lastly, check the MANIFEST.MF in your JAR. If your midlet classname is very long, it might be continued on 2 lines. This is per spec, but doesn't work on phones I've seen. Move the midlet class to a "shorter package." If the JAD is wrong, you'll get an error after a few seconds when you surf to the JAD. If the JAR type is wrong, you'll get the error a few seconds after you say "OK, download the midlet described." If the MANIFEST.MF is wrong, the error comes after you download the whole JAR. Plus what Claudio said. Good luck, jim > Hi! I am new to J2ME. I have problem downloading my apps from a web > server. > both Nokia 7210 and 6100 keep prompting "Invalid file format". but it > work > fine in motorola T720. Have anyone experience this before. > > Content of JAD file > MIDlet-Name: Diamond Mine > MIDlet-Version: 0.0.1 > MIDlet-Vendor: Chin Vun Loon > MIDlet-Jar-URL: Diamond.jar > MIDlet-Jar-Size: 26820 > MIDlet-Icon: /blue.png > MIDlet-1: MineMidlet, /blue.png, MineMidlet > > > The jad file is generated by Nokia SDK 1.1. your help is very much > appreciated! thanks. > > > Regards, > VUN LOON > > =========================================================================== > To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the > body > of the message "signoff KVM-INTEREST". For general help, send email to > listserv@xxxxxxxxxxxx and include in the body of the message "help". -- Jim Mackraz kvm-interest@xxxxxxxxxxxxx =========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help". =========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help".
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: success: sockets on nokia 3650 (symbian), Claus Klammer |
|---|---|
| Next by Date: | Start a J2ME application by OTA, Hector Berna |
| Previous by Thread: | Re: OTA for Nokia, Jim Mackraz |
| Next by Thread: | Start a J2ME application by OTA, Hector Berna |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |