On Tue, Jan 31, 2012 at 5:31 AM, atcal wrote:
> I'd like to use html (with images, btw) to provide documentation for
> my app. I thought to store my documentation pages in assets and use
> webview but I cannot find a way to link the webview to the assets.
> Does anyone know if this is possible?
webView.loadUrl("file:///android_asset/path/to/your/file.html") works fine.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.7 Available!
--
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