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 Member
Gangadhar007
Posts: 1
Registered: ‎08-08-2012
My Device: Bold 9900

BrowserField2 Images not displayed

[ Edited ]

Hello everybody,

   

I'm facing a major issue with browserField in BB 7.0 OS decives.The page is loaded but the images which are in the page are not displaying until the user moves the cursor. 

 

Here is the code i'm using to set the properties to browserfieldConfig

 

BrowserFieldConfig myBrowserFieldConfig = new BrowserFieldConfig();

myBrowserFieldConfig.setProperty(BrowserFieldConfig.NAVIGATION_MODE,
BrowserFieldConfig.NAVIGATION_MODE_POINTER);
myBrowserFieldConfig.setProperty(BrowserFieldConfig.VIEWPORT_WIDTH ,
new Integer(Display.getWidth())); 
myBrowserFieldConfig.setProperty(BrowserFieldConfig.USER_SCALABLE,
Boolean.TRUE);
myBrowserFieldConfig.setProperty(BrowserFieldConfig.ALLOW_CS_XHR,
Boolean.TRUE);
myBrowserFieldConfig.setProperty(BrowserFieldConfig.JAVASCRIPT_ENABLED,
Boolean.TRUE);
myBrowserFieldConfig.setProperty(BrowserFieldConfig.ENABLE_COOKIES,
Boolean.TRUE);
browserField = new BrowserField(myBrowserFieldConfig);

 

Is there any additional property require to resolve the issue??

 

Anyone could please help on this issue.

 

Thanks & Regards,

 

Gangadhar.

Please use plain text.
Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10

Re: BrowserField2 Images not displayed

I feel this is issue in the browser. We had faced same situation. Once you tap on the field than image visible to you. 

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Please use plain text.