This function is intended to create text with style spans that you can put
into a TextView for display.  Unfortunately the underlying style span stuff
is not extensively documented, though it shouldn't be hard to figure out --
look at the various classes in android.text.style for the kinds of standard
style spans that are in the platform.  You may also want to browse the
open-source code to see how they are used.

On Tue, Mar 10, 2009 at 12:21 PM, John Doe <[email protected]> wrote:

>
> I have looked a lot on the internet but I couldnt find anything. So
> thats why I am asking it here.
>
> While parsing an RSS I had to use Spanned class.
>
> Spanned spanned;
> spanned =  Html.fromHtml(content);
>
> content string keeps the html content in it. when i check spanned
> object during debug it really contains image urls and text strings but
> how do I reach them? I read ImageGetter and getSpans on SDK but there
> is no example on how to use them. Would you please help me?
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to