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. ListView not allowing onDraw on child Views in special case?

ListView does not block draw events on its children.



> 

2. GK: How to recognize Left touch dragging and Right touch dragging(Scrolling) in Android?

I've used a GestureDetector for that before:
http://developer.android.com/intl/zh-CN/reference/android/view/GestureDetector.html

Particularly:
http://developer.android.com/intl/zh-CN/reference/android/view/GestureDetector.SimpleOnGestureListener.html#onFling%28android.view.MotionEvent,%20android.view.MotionEvent,%20float,%20float%29




-- 

3. GridView in a ListView: results are unusable the way it is now

4. GridView in a ListView: results are unusable the way it is now

5. ListView not allowing onDraw on child Views in special case?

6. where is my trialing #?

7. notifyDataSetInvalidated does *not* reset scroll position