Hi I am trying to open a website in emulator as click on button.Please give me suggestion how can I do it? I want to open website in emulator not in browser. Please help me.
Midlet.platformRequest() is probably what you are looking for.See this article for more details.
Make a MIDlet Object and implement following code.
private MIDlet m;
String url = "http://www.google.com";
MyMidlet.m = this;
this code is worked in my application.
If you can use LWUIT then try the HTMLComponent