08-09-2008 05:11 PM
hello guys,
I am newbie to blackberry development. I want to ask few things:
1. I am using JDE 4.5.0 using 8300 emulator for my application. I want to access google web page and for that I am using Browser class but the API says no code signing is required for simulators and I have changed the preferences but when I run the application it does not show me the web page ?. Can you tell why ?.
code as follows.
if (name.equals("Weather"))
{
BrowserSession bss = Browser.getDefaultSession();
bss.displayPage("http://wwww.google.com");
bss.showBrowser();
}
thanks
08-11-2008 12:36 AM
Hi,
I tried running your code, there is no problem in opening a browser and viewing the page.
It just a typing mistake in your code "bss.displayPage("http://wwww.google.com");" chnage it to "bss.displayPage("http://www.google.com");", it should work.
Thank you.