BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Launch BB browser from my app, access to URL is slow (http://www.blackberryforums.com/developer-forum/171394-launch-bb-browser-my-app-access-url-slow.html)

viskaya 01-19-2009 02:45 AM

Launch BB browser from my app, access to URL is slow ?
 
Hi all,

sorry if this question had been asked before. I tried to build an application that launch BB browser and access an URL.
The problem is the access time to open the URL from my application is longer than if i open the same URL from browser directly. The gap is almost 30 seconds. Any one has an advice for this issue ?

this is my source code :
PHP Code:

public class MyAppMain {
    public static 
void main(String argsxxx91;xxx93;){
        new 
MyAppMain();
    }
    
    public 
MyAppMain() {
        
BrowserSession browser Browser.getDefaultSession();
        
browser.displayPage("$MY_URL");
        
browser.showBrowser();
    }




thx,

Vis'


All times are GMT -5. The time now is 10:06 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.