Tuesday, August 23, 2011

[android-developers] image won't show

Anyone know why this image won't show?


WebView wv = (WebView) findViewById(R.id.widget30);
String html = "<html><body><img src=\"file:///android_asset/smiley.png
\"></body></html>";
wv.loadData(html, "text/html", "utf-8");

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

No comments:

Post a Comment