Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
sumit_ece
Posts: 19
Registered: ‎01-05-2011

Rendering component using browser field

Hi,

 

I want to render my HTML content using Rendring application interface.

Let's say, i have HTML string 
"<HTML><BODY>TEST IT OUT</BODY>  </HTML>

 

Now, i want to display it in browser using RenderingApplication interface provided by blackberry.

 

How can i do it?? I don't want to use browser field.

Please use plain text.
Developer
lakshman9687
Posts: 226
Registered: ‎07-22-2011
My Carrier: AirTel

Re: Rendering component using browser field

[ Edited ]

Hi,

 did u check samples in eclipse, u can found browserfield demo in that.

 

Regards,

Lakshman K

----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.

Please use plain text.
Contributor
sumit_ece
Posts: 19
Registered: ‎01-05-2011

Re: Rendering component using browser field

Sorry,

 

I meant to use RenderingApplication.

Demos are available when I want to load my own link like "www.google.com"., but what happens when HTML content at that side is already with me.

Please use plain text.
Developer
maadani
Posts: 729
Registered: ‎05-04-2011

Re: Rendering component using browser field

You can simply use BrowserField and one of its displayContent methods.

 

Check out this link:

http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/browser/field2/BrowserField.ht...

 

Usually, using BrowserField is much more simple than using the RenderingApplication.

 

E.

Please use plain text.