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.
Asked
Active
Viewed 4,995 times
2
-
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 Answers
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?