Java tutorial
//package com.java2s; import android.widget.TextView; public class Main { public static String getTextViewValue(TextView etName) { return etName.getText().toString().toString(); } }