Display locally stored html webpage using webview

by tikky » Fri, 15 Jan 2010 05:30:44 GMT


Sponsored Links
 Nope, that does not work either.

On Jan 14, 2:50pm, Jason Proctor <jason.android.li...@gmail.com>





> >



Display locally stored html webpage using webview

by tikky » Fri, 15 Jan 2010 06:28:31 GMT


 i Jason,

It works now. The issue was the I was loading the webview using:
loadData(htmlData, mimetype, encoding);

When I changed it to :
loadUrl("file:///android_asset/test.html");

everything started working fine :)

Thanks for all the help.

On Jan 14, 3:37pm, Jason Proctor <jason.android.li...@gmail.com>
wrote:
> >> >


Sponsored Links


Other Threads

1. Problem with ContextMenu

Hi All

I am unable to import

android.view.Menu.Item;
android.view.View.OnPopulateContextMenuListener;


my android sdk version is

SDK platform Android 2.1, API 7, revision 1

regards
Bilal

-- 

2. getDuration() in VideoView returns -1 !!!

Maybe posting some more code would be of help!
Simone








> 

3. Capture Network Traffic

4. SlideME Marketplace Updates

5. Singleton Service ???

6. Adding image into imageadapter at runtime

7. French keyboard layout