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);
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
Thanks for your reply.
Yes I did:
webView.setWebChromeClient(new WebClient(this));
WebSettings webSettings = webView.getSettings();
webSettings.setSavePassword(false);
webSettings.setSaveFormData(false);
Hi Nelson
Can you share the link/webpage which you are trying ?
Thanks,
AJ
On Mar 16, 7:36 pm, nikhil nik...@gmail.com wrote:
Normally, this works for me
webView= (WebView) findViewById(R.id.webview);
webView.setWebChromeClient(new WebChromeClient());
webView.setWebViewClient(new
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 jing...@gmail.com
have you added all the clients? webviewclient,webchromeclient, enabled
javascript etc.
On Mar 8, 4:08 pm, Nelson jing...@gmail.com 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
6 matches
Mail list logo