Re: [android-developers] How to fire an intent onclick of link in textview

2011-10-22 Thread Mark Murphy
Use Linkify. On Sat, Oct 22, 2011 at 8:26 AM, Manikandan M wrote: > Hi Mark, > > Thanks for the reply, > > Already the textview is autoLinked(android:autoLink) it identifies the > phone,email,web wherever it contains. all these three are predefined links > > 1. if its phone number onclick it open

Re: [android-developers] How to fire an intent onclick of link in textview

2011-10-22 Thread Manikandan M
Hi Mark, Thanks for the reply, Already the textview is autoLinked(android:autoLink) it identifies the phone,email,web wherever it contains. all these three are predefined links 1. if its phone number onclick it opens the dailer 2. if its web address it opens the browser. 3. if its email then it

Re: [android-developers] How to fire an intent onclick of link in textview

2011-10-22 Thread Mark Murphy
Easiest: use android:autoLink on TextView (or subclases) Slightly harder: use android.text.util.Linkify On Sat, Oct 22, 2011 at 7:54 AM, Manikandan M wrote: > Hi all, > > I have a textview that contains link() how to fire an intent > onclick of the link in textview. > > Example Data for TextView

[android-developers] How to fire an intent onclick of link in textview

2011-10-22 Thread Manikandan M
Hi all, I have a textview that contains link() how to fire an intent onclick of the link in textview. Example Data for TextView : this is test string my phone number is 1234567890 (contact name). Then how i fire the intent to show the contact list onclick of the link : Final String : this