Use file:///android_asset/path/to/your/file/in/the/assets/directory.html
as the URL to feed to loadUrl() in the WebView, replacing the path as
needed. file:///android_asset/ basically points to the root of your
project's assets/ directory.

On Sun, Jan 29, 2012 at 5:34 PM, atcal <[email protected]> wrote:
> I'd like to store my app documentation as web pages (mixed text and
> images) in the assets then display them in webview. Is this possible?
> I've done my best to look through the on line documentation but I
> can't find how to do it.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.1 Available!

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

Reply via email to