Webview Is Not Opening Google.com
My webview is able to load both https & http sites But not https://www.google.com It doesn't throw any error either. Here is my code.I am unable to solve this problem supe
Solution 1:
There is a bug in your code
Your code
publicbooleanshouldOverrideUrlLoading(WebView view, String url) {
returntrue;
}
Correct code
publicbooleanshouldOverrideUrlLoading(WebView view, String url) {
returnfalse;
}
ShouldOverrideUrlLoading
should return false
to open url in webview.
True
is for opening in some other app.
Post a Comment for "Webview Is Not Opening Google.com"