Hi All,

I am doing the following, but seems not to be working -

mWebView = (WebView) findViewById(R.id.webView1);
mWebView.loadUrl("file:///android_asset/Help File/helpfile.html");

I tried the following -
------
1.
mWebView.loadUrl("file:///android_asset/Help%20File/
helpfile.html"); // replaced white space with %20
-------

2.
String encodedString = URLEncoder.encode("Help File","utf-8");
mWebView.loadUrl("file:///android_asset/" + encodedString + "/
helpfile.html");
------

Neither 1 nor 2 worked.

I am using a device running Android 3.1 but using API-11. Tried other
API-levels such as 8,9,10 and 12. Nothing worked.

Any ideas what i might be doing wrong?

TIA.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to