A Simple J2ME Bookmark Application

Sunday, 30 September 2012

Here is a simple coding of J2ME Bookmark application.

First go to Netbeans (if you don't have download it). File> New Project, Select Category Java ME and Project Mobile Application. Now press Next and unchecked Create Hello MIDlet and press Finish. And write this coding on MIDlet.java file

import javax.microedition.midlet.*;
import javax.microedition.io.ConnectionNotFoundException;


public class Midlet extends MIDlet {

public void startApp() {
try{
this.platformRequest("http://google.com");
}
catch (Exception e)
{

}
}

public void pauseApp() {
}

public void destroyApp(boolean unconditional) {
}
}
Share this article :

0 comments:

Speak up your mind

Tell us what you're thinking... !

Related Posts Plugin for WordPress, Blogger...
 
Support : Copyright © 2011. GL Entertaintment - All Rights Reserved
Proudly powered by Blogger