I am really trying hard to figure it out :( Probably it has a very
easy way to implement but I couldnt discover.

Spanned spanned;
spanned =  Html.fromHtml(content);

I am looking inside spanned and I see that all image url's and text is
properly kept. There must be a way to reach them. Can you help me to
figure it out? Can anyone?

On Mar 10, 11:39 pm, Dianne Hackborn <hack...@android.com> wrote:
> 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 <halila...@gmail.com> 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
> hack...@android.com
>
> 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to