Re: [android-developers] Re: WebView and Native Browser

2012-07-10 Thread SAndy
To load a HTML5 webpage try following settings on client side(in webview) : myWebView = new HTML5WebView(context); myWebView.clearFormData(); myWebView.clearHistory(); myWebView.clearCache(true); myWebView.getSettings().setAppCacheEnabled(true);

[android-developers] Re: WebView and Native Browser

2010-04-27 Thread thrusty
After some further experimentation, it looks like you can in fact load gmail for mobile in a WebView by first loading: http://m.gmail.com/ (note the lack of https!) which then redirects to a login page, and you subsequently can view the main gmail page. I tried something similar with my page...s

[android-developers] Re: WebView and Native Browser

2010-04-26 Thread thrusty
I'm having a similar problem. Here's an example of a web page that doesn't work within a WebView: https://m.gmail.com/ I setup my WebView in a manner similar to Nelson...even setup a WebChromeClient that implements onExceededDatabaseQuota as suggested previously by the PhoneGap folks. No luck

[android-developers] Re: WebView and Native Browser

2010-03-16 Thread nikhil
Normally, this works for me webView= (WebView) findViewById(R.id.webview); webView.setWebChromeClient(new WebChromeClient()); webView.setWebViewClient(new WebViewClient()); webView.getSettings().setJavaScriptEnabled(true); webView.loadUrl(url); On Mar 16, 10:34 am, Nelson wrote: > Thanks for you

[android-developers] Re: WebView and Native Browser

2010-03-16 Thread AJ
Hi Nelson Can you share the link/webpage which you are trying ? Thanks, AJ On Mar 16, 7:36 pm, nikhil wrote: > Normally, this works for me > > webView= (WebView) findViewById(R.id.webview); > webView.setWebChromeClient(new WebChromeClient()); > webView.setWebViewClient(new WebViewClient()); > we

[android-developers] Re: WebView and Native Browser

2010-03-16 Thread Nelson
Thanks for your reply. Yes I did: webView.setWebChromeClient(new WebClient(this)); WebSettings webSettings = webView.getSettings(); webSettings.setSavePassword(false); webSettings.setSaveFormData(false); webSettings.setJavaSc

[android-developers] Re: WebView and Native Browser

2010-03-10 Thread nikhil
have you added all the clients? webviewclient,webchromeclient, enabled javascript etc. On Mar 8, 4:08 pm, Nelson wrote: > Dear All, > > I am working on a WebView browser on Android (like > here:http://developer.android.com/resources/tutorials/views/hello-webview) > and trying to load a webpa