i am working on a application where i have image onwhich when u click it gets navigated to browser with a link but it dont display web page. now i need a code for just displaying a simple web page in blackberry.. is it something to do with simulator and device as i am working with simulator.So kindly help me with it....I am newbie to blackberry.. thank you in advance for help..
A:
The following code will open up the native browser to the URL you specify:
Browser.getDefaultSession().displayPage(url);
Marc Novakowski
2010-04-30 15:40:37
A:
String url = "http://www.google.ca";
BrowserSession browserSession = Browser.getDefaultSession();
browserSession.displayPage(url);
browserSession.showBrowser();
There is a known issue where the browser won't automatically display in various firmware versions. To get around this, simply call browserSession.showBrowser()
Glen Morgan
2010-05-04 14:00:24