get String From EditText - Android User Interface

Android examples for User Interface:EditText

Description

get String From EditText

Demo Code


//package com.java2s;

import android.widget.EditText;

public class Main {
    public static String getStringFrom(EditText editText) {
        return editText.getText().toString();
    }//from   w ww.  ja  v  a 2 s .  co m
}

Related Tutorials