Hmm... That worked, but I need HTML mixed with the image. Do you know how to do that?
On Aug 24, 1:49 am, Jeremy Dagorn <[email protected]> wrote: > 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 <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

