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
New Developer
Posts: 8
Registered: ‎01-25-2010
My Device: Storm 9350
My Carrier: Verizon

Re: Display HTML in a Screen Field

Yes, i checked that right away.  Any other ideas?

Developer
Posts: 47
Registered: ‎03-17-2009
My Device: Not Specified

Re: Display HTML in a Screen Field

has anyone tried this wrapper with a OS 5.0 or 4.7 device? I'm getting a null exception when trying to add a field via 

Field field = browserContent.getDisplayableContent();

 Any ideas why or how to fix it?  All OS' previous to 4.7 work fine.

 

New Contributor
Posts: 8
Registered: ‎01-03-2010
My Device: Not Specified

Re: Display HTML in a Screen Field

Hi Kalpesh,

Even i want to display the html string on the screen.
Can you please help me out..

Contributor
Posts: 17
Registered: ‎06-17-2010
My Device: C
My Carrier: SE

Re: Display HTML in a Screen Field

I also want to write html on MainScreen. Is there any sample code. Am using JDE 4.7.

 

Also my html is saved in a String variable.

Contributor
Posts: 47
Registered: ‎02-22-2010
My Device: 9800
My Carrier: Application Developer

Re: Display HTML in a Screen Field

HI,

 i used ur all classes but i can't get that html page content ,

pls send me whole code

thanks 

Rajasekar

Thanks & Regards,
Rajasekar
Contributor
Posts: 47
Registered: ‎02-22-2010
My Device: 9800
My Carrier: Application Developer

Re: Display HTML in a Screen Field

Hi ,

I tried Many times ur coding but ,its not working...its shows some stack overflow errors,

so pls help me to solve this prob...

Thanks & Regards,
Rajasekar
Contributor
Posts: 11
Registered: ‎08-18-2010
My Device: Not Specified

Re: Display HTML in a Screen Field

Exception : java.lang.RuntimeException: finishLoading is called on the event dispatch thread
No stack trace

i am getting this exception.plz give me solution

 

Thanks in advance

A.suman

Developer
Posts: 516
Registered: ‎07-23-2010
My Device: 9900

Re: Display HTML in a Screen Field

call the finish loading method on a separate thread.

Contributor
Posts: 11
Registered: ‎08-18-2010
My Device: Not Specified

Re: Display HTML in a Screen Field

hi i have used these classe.but i am getting the Exception like

 

Exception : java.lang.RuntimeException: finishLoading is called on the event dispatch thread
No stack trace

 

while debugging , the Field is generated and added to the MainScreen object but after that i am getting the above Exception at

 

"browserContent.finishLoading();" line.

plz solve my problem.

 

Thanks in Advance

A.suman

Developer
Posts: 516
Registered: ‎07-23-2010
My Device: 9900

Re: Display HTML in a Screen Field

I already told you the browserContent.finishLoading() needs to run on a separate thread.