[android-developers] Re: Clickable URLs in EditText when using ArrowKeyMovementMethod
See my answer here with a complete example: http://stackoverflow.com/a/18541955/534471 On Thursday, March 24, 2011 5:11:48 AM UTC-4, asher wrote: Hi Abhilash, Can you give an example of the code you wrote in order to do that? Thx. -- 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 --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: Clickable URLs in EditText when using ArrowKeyMovementMethod
Hi Abhilash, Can you give an example of the code you wrote in order to do that? Thx. -- 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
[android-developers] Re: Clickable URLs in EditText when using ArrowKeyMovementMethod
Answering my own post. This can be done like: mText.setMovementMethod(new ArrowKeyMovementMethod() { public boolean onTouchEvent(TextView widget, Spannable buffer, MotionEvent event) { // Code in onTouchEvent() of LinkMovementMethod except code to change selection } }); ~Abhilash On Oct 1, 5:37 pm, Abhilash abhilash.ramakris...@gmail.com wrote: *bump* On Sep 25, 9:13 am,Abhilashabhilash.ramakris...@gmail.com wrote: Is there a way to make URLs in a EditText clickable when the MovementMethod is set to ArrowKeyMovementMethod? ~Abhilash --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Clickable URLs in EditText when using ArrowKeyMovementMethod
*bump* On Sep 25, 9:13 am, Abhilash abhilash.ramakris...@gmail.com wrote: Is there a way to make URLs in a EditText clickable when the MovementMethod is set to ArrowKeyMovementMethod? ~Abhilash --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---