I have placed my image login_button.png in assets folder. Here's my
code:

WebView content =(WebView)findViewById(R.id.book_content);
    content.loadData("<img src='file:///android_asset/
login_button.png' />","text/html", "utf-8");

I'm getting page not found on emulator. Where am i wrong precisely?

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to