mWebview=(WebView)findViewById(R.id.activity_main_webview); WebSettings webSettings=mWebview.getSettings(); webSettings.setJavaScriptEnabled(true); mWebview.loadUrl("http://192.168.56.1.5555/Data/content_main.xml/"); if(Build.VERSION.SDK_INT>=19) { mWebview.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)