Your English is fine, it's your HTML that has problems! (English is harder!)
Well, first, you should use all lower-case in your HTML these days. Certainly, not mixed case! Second -- you just fed it text, with the '<' and '>' properly encoded as text. So it did just what you asked it to. If you want HTML tags to be processed, you have to supply them as HTML tags. That means no < and no > String s = new String("<img src='http://www.december.com/html/ images/icon.gif' alt='logo'>"); Perhaps you got this from some site which did this trying to get it to display correctly, but it wasn't needed...? On Mar 21, 11:28 am, alejandro <alejandr...@gmail.com> wrote: > Hi! > I want to render one UTF-8 encoded string what is provided by a rss > feed like that: > > WebView webview = new WebView(this); > setContentView(webview); > String s = new String("<IMG Src='http://www.december.com/ > html/images/icon.gif' alt='logo'>"); > webview.loadData(s, mimeType, encoding); > > it shows at the emulator > <IMG Src='http://www.december.com/html/images/icon.gif' > alt='logo'> > like plain text , but it isn't rendered .... > What I'm doing bad? > > thanks in advance , and sorry if my english is not correctly. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.