Thursday, 15 May 2014

Android reading html file from external storage -


I'm trying to show html files in / storage / sdcard0 / ...

  Webview Engine = (Webview) (SearchWebID (R.D. WebViv 1)); Engine.setWebViewClient (new WebViewClient ()); Engine.loadUrl (Environmental.getExternalStorageDirectory (). GetPath () + "testing.html");   

But failed to display webpage ... Can anyone help? Thanks!

resolved !!! "File: ///" front =] =]

  engine.load URL ("File: ///" + Environment GateInstance Store Directory (.) GetPath () + "Test .html");    

No comments:

Post a Comment