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 page...s
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
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
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
Thanks for your reply.
Yes I did:
webView.setWebChromeClient(new WebClient(this));
WebSettings webSettings = webView.getSettings();
webSettings.setSavePassword(false);
webSettings.setSaveFormData(false);
webSettings.setJavaSc
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
7 matches
Mail list logo