Java tutorial
//package com.java2s; import android.widget.EditText; public class Main { static char[] EditTextToArray(EditText editText) { char[] chars = new char[editText.getText().length()]; editText.getText().getChars(0, chars.length, chars, 0); return chars; } }