I used WebView to launch the webpage of given address and added two buttons ie 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://localhost
Why does this happen,Any Solution???
请使用系统IP地址而不是localhost.Android会阻止localhost。希望这会有所帮助。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.