I have written a Midlet and it works well in the emulator, so i wanted to get it on my Nokia 6610 by OTA, but couldnt get the phone finishing the download.
I set up an Apache Server, added the required MIME types( in the httpd.conf file I added 2 lines:
AddType text/vnd.sun.j2me.app-descriptor .jad
AddType application/java-archive .jar)
I can reach the server with http://localhost , and also ping it with its (inet) ip address.
I put the .jar and the .jad file into DocumentRoot directory of the server.
I build and packaged the MIDlet with Borland JBuilder and NokiaSDK.
This is what my .jad File looks like:
MIDlet-Name: MyMIDlet
MIDlet-Version: 0.0.1
MIDlet-Vendor: GanjaSoft
MicroEdition-Profile: MIDP-1.0
MicroEdition-Configuration: CLDC-1.0
MIDlet-Jar-URL: http://MY_SERVER_IP/MyMIDlet.jar
MIDlet-Jar-Size: 51662
MIDlet-1: Nemo, , Nemo.Nemo
Thats the Configuration.
I tried downloading the MIDlet by going to "Services" --> "go to address" --> and entered "http://MY_SERVER_IP/MyMIDlet.jad" --> "GO"
The Phone opens the connection and presents following display:
"MyMidlet
v0.0.1 (52kb)
GanjaSoft"
I choose to download it. This works for about 30 sec and then it aborts saying the connection was interrupted.
This happens always (I tried several times)
Am I doing something wrong?
Or is there another Solution to get the MIDlet on my phone (no data cables)

Reply With Quote

