I have ran into problems when I'm trying to run my MIDlet in Nokia 6131 NFC phone. After installation, my MIDlet has a red cross over its icon in the phone. When I try to start MIDlet, the phone says “Invalid application. Delete?”
I’m using Eclipse 3.2 and Nokia_6131_NFC_SDK_1_1 and my MIDlet runs fine in Nokia emulator. If I install Nokia's test programs to my phone, they all work fine.
Perhaps the problem occurs during Eclipse Export.
My jad file looks like this:
MIDlet-Version: 1.0.0
MIDlet-Vendor: Me
MIDlet-Jar-URL: MyMidlet.jar
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-2.0
MIDlet-1: MyMIDlet,,midlet.MyMIDlet
MIDlet-Name: MyMidlet
MIDlet-Jar-Size: 35566
Can anybody tell me, how I should Export jar file to run the Midlet in Nokia NFC phone?
What is the difference between jad / manifest files? During Export, there is no Main class (application entry point).
Thanks!

Reply With Quote

