Focus on a EditText and move the cursor end of the last character.

EditText editText = (EditText) findViewById(R.id.myEditText);
editText.requestFocus();
editText.setSelection(editText.getText().length());