Here you can find the source of getEditTextName( ArrayList
private static ArrayList<String> getEditTextName( ArrayList<String> editTextNames, ArrayList<EditText> ediTextView, Context ctx)
//package com.java2s; import java.util.ArrayList; import android.content.Context; import android.widget.EditText; public class Main { private static ArrayList<String> getEditTextName( ArrayList<String> editTextNames, ArrayList<EditText> ediTextView, Context ctx) { for (EditText editText : ediTextView) { editTextNames.add(ctx.getResources().getResourceName( editText.getId()));/*from w w w.ja v a 2 s.c om*/ } return editTextNames; } private static int getId(String wig_name, Context context) { int id = context.getResources().getIdentifier(wig_name, null, null); return id; } }