Tuesday, November 16, 2010

Develop Applications for Mobile

How to Develop Applications for Java Based Mobile
Prerequisites:
1) should have experience in java programming
2) Knowledge in programming applet will help but it is not necessary.

refer following books
For basics of java programming
Java-the complete reference

For learning application development
J2ME-Application Development

steps:
1) Install jdk
(click on jdk, then select platform and download.)

2) install j2me(java 2 Mobile Edition)
from here

3)after installation open java ME
u will get start page like this


4) From file menu select new project. You will get window like this. Select type of application (prefer MIDP) and click next.5) Give name to project and if necessary check Create hello midlet(so that you will get a sample hello world type application)
6) Select type of device that you are going for
for information of these type of devices see device selector in left pane

7) after writing you can run it pressing F6 or run from Run menu.
8)The compiled jar and jad file will be created in folder where you saved your project. Generally My Documents\JavaMESDKProjects\"Project Name"\dist
9) Copy jar file to your device and install your application.

This IDE comes with some sample programs so you can learn from them.

2 comments:

  1. Thank you Sir for this wonderful information
    Can you tell us how to install J2ME in freeBSD system in detail?
    Thanking you

    ReplyDelete