java - Android Display Web View -


hi i'm working on android application uses web view. works on api levels, i'm having problems on api 9 (gingerbread 2.3.5). it's inconsistent whether works or not. i've used following code work on froyo:

webview.setwebviewclient(new webviewclient(){         @override         public boolean shouldoverrideurlloading(webview view, string url) {             if (uri.parse(url).gethost().equals(urlstring)) {                 // web site, not override; let webview load page                 return false;             }             // otherwise, link not page on site, launch activity handles urls             intent intent = new intent(intent.action_view, uri.parse(url));             startactivity(intent);             return true;         }         @override         public void onreceivedsslerror (webview view, sslerrorhandler handler, sslerror error) {              handler.proceed();         }     }); 

but doesn't hit when debugging on api level 9 (gingerbread 2.3.5). has else had issue? if causing , how did fix it?

thanks


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -