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-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:
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)
I got it.
It was just too easy.
If you want to download a Midlet from your own apache server, set everything like I did. (See above)
So the reason why it did not work for me was, I had the wrong settings for WAP in my cell phone.
I had to change to the following:
Connection Type: permanent
Data Transmission: GSM Data
Connection Security: Off
I don't know the exact translation to english of the settings, but I think you'll find the right ones in your cell phone.