1

I have an HTML String like
<p>something</p> etc... some other html string etc... <p>something</p>

I would like to print in a field this string formatted. in android I use a webview... in iphone a UIWebView... but in BlackBerry?

Thanks ;)

Sergio

Maksym Gontar
  • 22,765
  • 10
  • 78
  • 114
Sergio Andreotti
  • 913
  • 2
  • 8
  • 26

3 Answers3

2

If you need to support only RIM OS 5.0.0 and greater you can use BrowserField.displayContent method.

Othervice try BrowserFieldDemo & HttpConnection mockup approach

Community
  • 1
  • 1
Maksym Gontar
  • 22,765
  • 10
  • 78
  • 114
2

Please see the link for sample code / examples

http://docs.blackberry.com/en/developers/deliverables/11958/Creating_a_field_to_display_web_content_851601_11.jsp

rakeshsoni
  • 21
  • 1