Thankx it worked , also i have to add this line --> *text.setMovementMethod(LinkMovementMethod.getInstance());*
Rgds*,* saurabh "..pain is temporary.....quitting lasts forever......" On Wed, Aug 31, 2011 at 7:11 PM, Chris <[email protected]> wrote: > > > On Wednesday, August 31, 2011 4:00:48 AM UTC-4, softy wrote: >> >> Hi, >> How can I make a text clickable(hyperlinked) in the dialogue box. >> > > Something like: > > StringBuilder msg = new StringBuilder(); > msg.append("http://www.google.com"); > final SpannableString string = new SpannableString(msg); > Linkify.addLinks(string, Linkify.WEB_URLS); > myTextView.setText(string); > > -- > You received this message because you are subscribed to the Google Groups > "Android Discuss" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/android-discuss/-/C-imYVRHQrQJ. > 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-discuss?hl=en. > -- 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

