Muotaz
Muotaz

Reputation: 53

WebView equivalent in Java ME

I am working on developing a hybrid mobile application, we already have a mobile interface for the application and we used WebView on Android to give users the sense of a stand-alone application. The question is how can I do that on, let's say, Nokia phones?

-- Thanks;

Upvotes: 1

Views: 815

Answers (1)

Telmo Pimentel Mota
Telmo Pimentel Mota

Reputation: 4043

If you can use LWUIT there is HTMLComponent: http://docs.oracle.com/javame/dev-tools/lwuit-1.4/LWUIT_Developer_Guide_HTML/bbjidhgf.html.

The most simple use case of HTMLComponent is rendering rich text:

HTMLComponent htmlC = new HTMLComponent(null);
htmlC.setBodyText("Hello <b>bold text</b>");

Upvotes: 3

Related Questions