In my application I have a TextView that contains text which (among other things) contains links. When clicking on a link I need to open specific activities.
What is the best way of solving this? Currently, the only solution I have been able to come up with is to set each URLSpan span to a URL with a special scheme, like "specialscheme:my_data_here", and then let the target activity have an <intent-filter> that catches attempt to open links with such scheme. Now, to me this is not the ideal solution. The Intents I actually want to use are quite complex (lots of supplementary data passed in extras) which makes it somewhat difficult to out in a URL. I also would like to avoid the risk of some other application filtering on the same scheme, thus causing problems to my application. Any suggestions? -- 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