当前位置: 动力学知识库 > 问答 > 编程问答 >

java me - Open a website on button click in j2me?

问题描述:

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;

m.platformRequest(url);

this code is worked in my application.

网友答案:

If you can use LWUIT then try the HTMLComponent

分享给朋友:
您可能感兴趣的文章:
随机阅读: