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
vishal_33
Posts: 104
Registered: ‎07-08-2010
My Device: blackberry bold
Accepted Solution

Images are not display with html content into browserfield

[ Edited ]
Hi friends, i am displaying local html content in the browserfield . thats are display fine but images are not display that is also local means stored in project. i am using jde 5.0 . whats for displaying images.
Regards
Vishal Patel
Developer
vishal_33
Posts: 104
Registered: ‎07-08-2010
My Device: blackberry bold

Re: Images are not display with html content into browserfield

i am using this code for os 5.0, mybrowerField=new BrowserField(); mybrowerField.displayContent(str, "http://localhost"); give me solution.
Regards
Vishal Patel
Developer
vishal_33
Posts: 104
Registered: ‎07-08-2010
My Device: blackberry bold

Re: Images are not display with html content into browserfield

html content are display fine in browserfield but i contain some images also there . there is problem for displaying images. can any one help me.
Regards
Vishal Patel
Contributor
arunkrishna
Posts: 17
Registered: ‎06-21-2011
My Device: 9800

Re: Images are not display with html content into browserfield

use renderingseession there we  will be specifying some browser options like java script enabling and all.

hope this will help u

Developer
vishal_33
Posts: 104
Registered: ‎07-08-2010
My Device: blackberry bold

Re: Images are not display with html content into browserfield

after so much stuff i solved and images are displayed successfully . i used now base64 class and images data are passed in base64 format.
Regards
Vishal Patel
Contributor
pratuat
Posts: 33
Registered: ‎04-04-2011
My Device: 8350

Re: Images are not display with html content into browserfield

Could you please eleborate more about what you have done ?

 

Would be of great help.

 

I have to display a html page in BrowserField. It has got two image (png files). The textual contents displays fine but can't see the images. What do I need to do ?

Contributor
pratuat
Posts: 33
Registered: ‎04-04-2011
My Device: 8350

Re: Images are not display with html content into browserfield

solved, sorry to bother ,,

Contributor
dhara_jogi
Posts: 16
Registered: ‎04-25-2013
My Device: None

Re: Images are not display with html content into browserfield

Hello,

 

i also used base64 to convert the image into string then how the base64 string will be displayed in browserfield???

Thanks & Regards
Dhara Jogi