Hi, Why you don't do something like that :
String imageUrl = "file:///android_asset/smiley.png"; WebView wv = new WebView(this); // or findViewById in your case wv.loadUrl(imageUrl); On Aug 23, 9:49 pm, bob <b...@coolgroups.com> wrote: > 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en