×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2004
    Posts
    2

    Test my MIDlet on Nokia 6610

    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)

  2. #2
    Registered User
    Join Date
    Jan 2004
    Posts
    18
    Hi,

    I have tried something similar but from JBuilder itself. It supports OTA i.e. you can download your Midlet from Apache direct in the IDE and run it (see Runtime Configurations). Does that work ?

    I am afraid I've never tried from a phone as I thought this will require your phone to be connected to your network (where Apache is running).

    Could you tell me how you achieve this (adding your phone to your network) ?

    Marc.

  3. #3
    Registered User
    Join Date
    Jan 2004
    Posts
    2
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×