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.

inside custom component

Java Development

Reply
Developer
Petruchodd
Posts: 39
Registered: ‎10-19-2010
My Device: drova 9700
Accepted Solution

How to display Html String in field

hi guys. im using Eclipse with 4.5 jre.

I need display html text  (example " <br><br> some text <br>other tags ... ")

This text i have in String . I reading many forums about it but never found. 

Can anyone help me?? 

Im trying using browser but it's not good.. He hide my app and show content( or link like "google.com" ) .

I need show this text in the field, with other fields.

 

Help me please.

Regards, Peter.  

Please use plain text.
Developer
simon_hain
Posts: 16,201
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: How to display Html String in field

browserfield
----------------------------------------------------------
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.
@SimonHain on twitter
Please use plain text.
Developer
Petruchodd
Posts: 39
Registered: ‎10-19-2010
My Device: drova 9700

Re: How to display Html String in field

it's not help for me.

Please use plain text.
Developer
simon_hain
Posts: 16,201
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: How to display Html String in field

why not?

----------------------------------------------------------
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.
@SimonHain on twitter
Please use plain text.
Developer
Petruchodd
Posts: 39
Registered: ‎10-19-2010
My Device: drova 9700

Re: How to display Html String in field

why it must help me ?  you not read my q.

Please use plain text.
Developer
simon_hain
Posts: 16,201
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: How to display Html String in field

you write that you want to display html content in a field with other fields.

this is what the browserfield does.

 

there is no other field capable of parsing html. there are numerous threads about this topic which you can find by searching the forum, including a code sample which can display simple html formatting like <b>.

----------------------------------------------------------
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.
@SimonHain on twitter
Please use plain text.
Developer
Petruchodd
Posts: 39
Registered: ‎10-19-2010
My Device: drova 9700

Re: How to display Html String in field

thank for good answer. But browserfield not supportede on 4.5 . It's support only  in 5.0 +.

So what i must do ? (

Please use plain text.