Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//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;
    }
}