[android-developers] Re: Launching an activity using Linkify

2010-07-23 Thread angushir...@googlemail.com
Top answer. Thanks for that. Now just need a neat and tidy way of passing arguments into the activity being called. On Jul 22, 9:21 pm, Matt wrote: > Yes. > > 1. Create a class which inherits ClickableSpan.  See URLSpan for an > example. > 2. Your action will go into onClick() of this class. > 3.

[android-developers] Re: Launching an activity using Linkify

2010-07-22 Thread Matt
Yes. 1. Create a class which inherits ClickableSpan. See URLSpan for an example. 2. Your action will go into onClick() of this class. 3. Set the text with setSpan(). I have an example here, although this is using a URLSpan, you would need to change URLSpan to your custom ClickableSpan class.