Facing the problem invalid jar file in N95
I am trying to install a java application on my Nokia N95 mobile phone by download the jad. It is showing the invalid jar file. The jar and jad file are working fine on the simulator and other mobile phone. Can anybody provide me with solution for this problem of invalid jar file? I will be waiting for the related replies.
Re: Facing the problem invalid jar file in N95
I will suggest you to check the parameters of “MIDlet-Jar-Size” in the JAD file, and then check for the value mentioned there, it is matching to the size of your JAR file or not. One more thing do not forget to check for the icon file in the path specified in the “MIDlet-Icon” in the location of the .JAD file. If this suggestion does not help, you then reply with the more detailed description.
Re: Facing the problem invalid jar file in N95
Thanks for the reply but these suggestion did not solve my problem. I am also sending the details of the JAD file for the detailed understanding of the problem.
Manifest-Version: 1.0
MIDlet-1: <name>,icons/icon.png,<midlet>
MIDlet-Jar-URL: <jar-url>
MIDlet-Permissions-Opt: javax.wireless.messaging.sms.send, javax.microedition.io.Connector.sms, javax.wireless.messaging.sms.receive, javax.microedition.io.PushRegistry
MIDlet-Icon: icons/icon.png
MicroEdition-Configuration: CLDC-1.0
MIDlet-Version: 0.9.0
MIDlet-Data-Size: 4000
MIDlet-Info-URL: <website>
MIDlet-Vendor: <company>
MIDlet-Name: <name>
MIDlet-Description: <description>
MicroEdition-Profile: MIDP-2.0
MIDlet-Permissions: javax.microedition.io.Connector.http
MIDlet-Jar-Size: 515265
Re: Facing the problem invalid jar file in N95
Well for installing the MIDlet you should try to increase the version to 1.0.0. This will surely allow you to install the MIDlet. But if you want to run the application with version number 0.9.0. For that you have to change the version number through the
Netbeans Properties and then to Application Descriptor.
Re: Facing the problem invalid jar file in N95
Well I have got the solution for the problem;
First you have to install the version you are having the problem through the cable or bluethoot.
Then do not delete the MIDlet which is present on the mobile phone.
After that download the MIDlet through OTA and then replace it.
I am sure this will work.