如何在webView中使用此鏈接「192.168.1.11:8080/..../login.html」,它是本地Web服務器.Am嘗試了很多次,但沒有發生任何事情。我的代碼正在與其他環節,如「谷歌」,所以請如果任何一個能幫助..我在webview中的鏈接無法打開?
這是我的代碼:
protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.web_view);
webView = (android.webkit.WebView) findViewById(R.id.webView);
startWebView("http://192.168.1.11:8080/...../login.html");
}
我已經在函數「startWebView」中使用它了, – Mohammad