×

Discussion Board

Results 1 to 2 of 2

Thread: OTA Midlets!

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    11

    OTA Midlets!

    Hi...I want to send A midlet that I created over the air..What shall I use and do u know any tutorials that I can Find? Particularly I want to deploy them over the 3410 Nokia.
    ANY HELP IS APPRECIATED THANX

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    101

    RE: OTA Midlets!

    The OTA specification is at

    http://java.sun.com/products/midp/OTAProvisioning-1.0.pdf

    Basically, you can just upload your JAD and JAR to a normal Web server, but you have to be careful of the Content-Types since most servers don't send the proper Content-Types for JAD and JAR files by default. If your Web server is Apache, you can create a file named ".htaccess" and in it put the following two directives:

    AddType text/vnd.sun.j2me.app-descriptor jad
    AddType application/java-archive jar

    This specifies that files with a ".jad" extension will be served with Content-Type: text/vnd.sun.j2me.app-descriptor and files with a ".jar" extension with Content-Type: application/java-archive. Put the .htaccess file in the same directory as your JAD and JAR or in a parent directory.

    Then you should be able to enter the URL of the JAD file in your phone's WAP browser to initiate the OTA download. To make things easier, you can also create a WML document that links to your JAD.

Posting Permissions

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