I've made a MIDlet suite with SunOne Mobile Edition and i have a problem with the JAD file. I can install the MIDlet from the JAR file, but installing it from the JAD it gives a error.
Help anyone?
I've made a MIDlet suite with SunOne Mobile Edition and i have a problem with the JAD file. I can install the MIDlet from the JAR file, but installing it from the JAD it gives a error.
Help anyone?
[quote="xptm"]I've made a MIDlet suite with SunOne Mobile Edition and i have a problem with the JAD file. I can install the MIDlet from the JAR file, but installing it from the JAD it gives a error.
Help anyone?[/quote]
What are you installing on ?
What is the contents of the JAD file ?
You can see then at
http://xptm.com.sapo.pt/xptMIDlets/xptMIDlets.html
I'm trying to install it in a SE P800.
Thanks.
[quote="Anonymous"]You can see then at
http://xptm.com.sapo.pt/xptMIDlets/xptMIDlets.html
I'm trying to install it in a SE P800.
Thanks.[/quote]
The JAD file needs to contain the full http:// URL of where the JAR file is located.
In P800 if you download the JAD file using the browser the JAD becomes handed over to the Install SW (which has no information about from where the JAD originated). So it parses the JAD file looking for the URL so it can download the JAR. In this case that field in the JAD says :
MIDlet-Jar-URL: xjColors.jar
and that clearly does not point to where it is located on your server.
But if you edit the JAD so it says :
MIDlet-Jar-URL: http://xptm.com.sapo.pt/xptMIDlets/xjColors.jar
then the JAR download is more likely to succeed.