I'm trying to implement a copy/paste function. How can I get a selection of text from an EditText?
EditText et=(EditText)findViewById(R.id.title); blabla onclicklistener on a button:
int startSelection=et.getSelectionStart(); int endSelection=et.getSelectionEnd(); Then I'm stuck. Any ideas?