I have an HTML string that I'm getting a Spanned object and I want to use Linkify to add links to it automatically. The HTML just has formatting and specifically I'd like to link phone numbers.
I get the Spanned object as in: Spanned s1 = Html.fromHtml(htmltext); In other case I've used SpannableString, so I am able change it as in: SpannableString s = new SpannableString(text); Linkify.addLinks(s, Linkify.ALL); But my s1 above won't work with Linkify.addLinks(). Is there another way to accomplish this? Can I convert a Spanned to a SpannableString or something like it? -- 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

