title: Android How to select text from TextView for a book reader?
body: <p>I would like to create a book reader and for this i have a problem of selecting some text and i don't know what is the best way. I read some posts in which they where using EditText for selection. But this is not so usefull because when you long tap it shows select word/select all and the keyboard appears, what i want is only the possibility to select text, listen the selection and then using Spannable/Linkify to edit that portion of text. </p>
  
  <p>If there is no easy thing to use the standard text cursor controllers, can i create a custom cursor controllers or something like that ?</p>
  
  <p>I read this posts:</p>
  
  <p><a href="https://stackoverflow.com/questions/4991201/select-text-from-textview">Select text from TextView?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/6309093/how-to-allow-the-user-to-select-a-text-range-in-a-textview-similar-to-edittext">How to allow the user to select a text range in a TextView (Similar to EditText)</a></p>
  
  <p>Thank you in advance.</p>
  
  <p>Update:</p>
  
  <p>I found this class android.text.Selection that seems to use the cursor controllers But i don't find any examples on google about it. </p>