Android : Accessing html files on server via webView

on Wednesday, September 24, 2014


I am trying to access the HTML files stored on a server via webView. Have tried these lines of code but it does not show the content.


//webView.loadUrl("file://///server2/panquest//index.html");


//webView.loadDataWithBaseURL("file://///server2/panquest/index/", "html", "text/html", "utf-8", "");


// webView.loadDataWithBaseURL("file://///server2/panquest//index.html");


How can go about this? Thanks in advance.


0 comments:

Post a Comment