开发者

Android2.2 Webview goback issue

开发者 https://www.devze.com 2023-01-27 22:56 出处:网络
I used WebView to launch the webpage of given address and added two buttons i.e BACK and FORWARD to navigate

I used WebView to launch the webpage of given address and added two buttons i.e BACK and FORWARD to navigate

i used webview.goBack() method to BACK and webview.goForward() to FORWARD,navigation of web pages works fine with the public domain urls like www.google.com but not with local urls like http://localh开发者_Python百科ost

Why does this happen,Any Solution???


Use your system IP address instead of localhost.Android is blocking localhost.Hope this will help.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号