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
Trusted Contributor
user17
Posts: 145
Registered: ‎01-23-2012
My Device: 9300

Browserfield setConfig

Hi All,

 

 

i typed one url in blackberry browser it is showing in browser properly but in my app browserfield it is not showing properly. For displaying properly in my app browserfield what are the  properties i have to set? What are parameters to set for getting default browser in Browserfield.

 

Please help me.....

 

 

Thanks.

 

 

Developer
developer_aman_arora
Posts: 354
Registered: ‎06-05-2013
My Device: Blackberry Z10

Re: Browserfield setConfig

 it will help you

 

MyBrowserFieldConfig _config = new MyBrowserFieldConfig();
BrowserField _bf2 = new BrowserField(_config);

_screen = new MainScreen();
_screen.add(_bf2);
pushScreen(_screen);

_bf2.requestContent("http://devblog.blackberry.com");