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
Highlighted
Developer
Posts: 242
Registered: ‎02-19-2013
My Device: 9500
My Carrier: _

Parameter require to run Browerserfield correct on device

I am using the Browserfield to open the web page.

 

I like to know the which parameter are required to set for the Browserfield to run on the device.

 

I am doing like this

 

BrowserField browserField = new BrowserField();
browserField.requestContent("http://www.google.com");
add(browserField);

 

I read on the internet that additional parameter are required to run this on device.

 

LIke this

 

BrowserField browserField = new BrowserField();
browserField.requestContent("http://www.google.com" +  ";deviceside=true");
add(browserField);

 

Please help me so that browserfield will work on all.

 

Thanks in advance.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Parameter require to run Browerserfield correct on device

You do not need the connection suffix for the BrowserField - normally it uses its own logic to determine which connection method it will use to obtain the pages. 

 

Can you point us at the pages you have found that suggest this, so that they can be corrected. 

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

Re: Parameter require to run Browerserfield correct on device