2

I want get text like phone number inside a textView by parcing, and i want use this getSelectionStart(), but it dosen't work?? can someone give me an example please.

user820688
  • 719
  • 2
  • 13
  • 27
  • You probably need to explain what you have tried, and post the code you use with getSelectionStart to understand why this not work. – NitroG42 Aug 05 '11 at 09:06

1 Answers1

0

I made a bad first answer because I mixed getselection with the new text api of 2.3.

You will find some answer in those thread :

Android - get selection of text from EditText

How to use getSelectionStart and getSelectionEnd of EditText when user touches EditText?

Community
  • 1
  • 1
NitroG42
  • 5,336
  • 2
  • 28
  • 32