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
Contributor
coolfish
Posts: 26
Registered: ‎07-25-2012
My Device: 9800

blackberry browserfield does not support external css

 

Hey guys

                   after long time  i am posting a question (mean problem :smileywink:).  i have created the application which have browser (using browserfield2)which load the html file. but the problem with the external css. it was working fine when i have tested the application but now it is creating problem on real device torch 9800. but the same application is working fine on the real device 9220. i have searched a a lot in this forum but :smileysad: . can any one tell me what could be problem???. the code which i am using is here .is anything i missed???

 

BrowserFieldConfig bfc = new BrowserFieldConfig();
bfc.setProperty(BrowserFieldConfig.NAVIGATION_MODE,
BrowserFieldConfig.NAVIGATION_MODE_NODE);
bfc.setProperty(BrowserFieldConfig.JAVASCRIPT_ENABLED, Boolean.TRUE);
bfc.setProperty(BrowserFieldConfig.ALLOW_CS_XHR,Boolean.TRUE);
BrowserField browserLoginField = new BrowserField(bfc);

browserLoginField.requestContent(url);

 

 

Thanks 

cooooollllfish..

 

Developer
maadani
Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: blackberry browserfield does not support external css

Hi @coolfish

 

Does it happen both on WIFI & 3G?

E.

Contributor
coolfish
Posts: 26
Registered: ‎07-25-2012
My Device: 9800

Re: blackberry browserfield does not support external css

 

yes it is happening on both.