PAGES

Wednesday, September 8, 2010

Creating simple mobile application using J2ME

We'll use JAVA ME (Micro Edition) on NETBEANS to create a simple mobile application.
I suggest readers that they should know at least core JAVA(J2SE) if not J2EE to make these application.
Before that let me first introduce you to some basic terms:-

MIDLET:-A MIDlet is an application that uses the Mobile Information Device Profile (MIDP) of the Connected Limited Device Configuration (CLDC) for the Java ME environment. Typical applications include games running on mobile devices and cell phones which have small graphical displays, simple numeric keypad interfaces and limited network access over HTTP.
In simple terms you can consider a midlet to be synonymous to a applet in J2SE

Dont bother about the terms mentioned like MIDP and CLDC .I'll explain them as we proceed towards the depth of J2ME.

Now i found a video which made my job of explaination very easy.
It will require some time as well as about 0.7GB of download and about thrice disk space.So be patient.

Also you can skip downloading NOKIA PC SUITE as it is only required after the application is complete.If you have card reader ,it will also work.

Download video form here:-
http://www.forum.nokia.com/info/sw.nokia.com/id/ddfa1fcc-4325-43ec-bab1-9e324667cdb1/Getting_Started_With_NetBeans_6_0_v1_0_en.exe.html

 Now for those who have limited processor speed ,RAM or low disk space (rather its good for everyone),
you can just skip the download of SDK's as they as too heavy to run on PC and they slows down PC's greatly.
Also they are mobile model specific.As an alternative just download JAVA wireless toolkit  2.2.(WTK)
After installing the WTK2.2 you dont require SDK's.
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=sun_java_wireless_toolkit-2.5.2_01b-oth-JPR@CDS-CDS_Developer
If it doesnot work you can always revert beck to what is explained in the video.
Now after you have finished debugging the program just try running it.If it doesn't work browse to the location where your project is saved.
Then go to netbeansproject> projectname>Dist and double click on .JAD file.

I think this is enough for beginning.I'll be covering camera applications,bluetooth applications , games and everything else in my subsequent posts.
                                                                                                                    

Any doubt ,plz drop a comment or E-Mail at vaibhav9899@gmail.com
                                                                                                                         Next tutorial

4 comments:

  1. Hello,
    Today, everyone knows that this is the booming age for mobile application development market. This has caught an importance of every mobile and technology lover recently and its demand in the market has grown very rapidly.

    mobile application development

    ReplyDelete
  2. Nice way of spamming Dude,still i am allowing :D
    because your blog is a perfect example for learning spamming

    ReplyDelete
  3. I agree with your views that J2ME is a JAVA 2 Platform. J2ME provides flexible environment for Mobile Application. J2ME mobile application is a based on CLDC/MIDP and different JSRs. J2ME Mobile Application Development covers: Native J2ME Application based on CLDC/MIDP, Blackberry Application Development ,Bluetooth Application for Mobile, JSR 75 based development on J2ME. 2ME or also know as Java ME is a platform that is specifically designed for application development to run on mobile phones, PDAs and other embedded systems. J2ME development features an adaptable user interface, which integrates with network protocols and extends support for mobile application development, thanks a lot.
    mobile application developer

    ReplyDelete
  4. Wonderful blog & good post.Its really helpful for me, awaiting for more new post. Keep Blogging!



    J2ME Developer

    ReplyDelete

customised by Vaibhav