Have you tried simply passing the url as a "file://" scheme?  You
could test it out by copying the files to the sdcard and giving it a
go.

If the test works, then you could copy the files from your application
to the sdcard from your app.  The context.getExternalFilesDir() is a
handy way to get a directory on the sdcard to write to.

Alternatively, you could used loadData(String data, String mimeType,
String encoding) instead, although that will give you some difficulty
with images and such without some extra work.

On Nov 2, 9:55 am, Amit Mangal <[email protected]> wrote:
> Hi Everyone,
>
> how do I open a a local html-page (named, for instance "test.html") in a
> WebView?
>
> where should i keep this keep html page with images in project and how to
> use
> Webview.loadUrl(String url) ?
>
> Thanks in advance

-- 
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