Skip to main content

Deploying a j2me application

3 replies [Last post]
timonjue
Offline
Joined: 2006-12-15

I have a MIDP 2.0 application that I want to deploy on a nokia 2600 phone. I have searched for the ways i can achieve the deployment but i have not found any answer. So please guys help me
How can i deploy the application in the phone please provide steps sorry am new to this.
Thanks in advance

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
timonjue
Offline
Joined: 2006-12-15

I will be trying the options thanks

sfitzjava
Offline
Joined: 2003-06-15

Got your email, and since you asked nicely... I guess I'll tell you how to deploy to the phone. :)

There are usually a couple ways to deploy depending on the phone features, and the service provider. But there are some cases where 3rd party deployment is impossible, such is the case for VirginMobile US, Movida, are two I know of. While VMobile is because they don't allow off internal site downloads. Movida is because they are in a "Walled Garden", which is a way of saying they don't allow internet connections out of their network.

The way JavaME was designed to be deployed is via OTA (Over-The-Air), which requires a webserver that you can post your jad and jar file to and update the mime-type in the webserver to support Java deployment.
For apache this is done by editing a ".htaccess" file in your web page doc root directory or edit the httpd.conf, and put in the 2 mime types entries:
AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar

Then just point your phones web browser to the URL where you put your jad file and it should ask if you want to download and install your app. There are many issues that can occur which will make the download error out. If you don't have the right permissions, if the URL to the jar is incorrect (some servers need the full path other just the jar name), and depending on the APIs you used the jar may need to be signed.

The other way is sometimes the device has USB data cable support and you can connect your phone up like a USB drive copy your jad/jar files over, and then using some type of phone built-in file manager select the jad file which should start it and install the jar. Since the 2600 does not have a micro MMC/SD card slot this feature may not be supported or you may have to find a special data cable to connect it with. RadioShack usually has various USB data cables so that you can backup your phone data.
Also on some phones by placing the Jad/Jar in the correct Games or Application directory the system will see it and auto load the menu to allow execution of the app.

Regards,
-Shawn

timonjue
Offline
Joined: 2006-12-15

Thanks sfitzjava a very helpfull post I appreciate it I will be kindly be disturbing you coz am still developing the application so you expertise will be highly needed thanks.