Android examples for java.lang:String Null or Empty
Check string array to for Empty
import android.text.TextUtils; public class Main{ public static boolean notIsEmpty(String... parmaes) { int parmaesLenght = parmaes.length; if (parmaesLenght > 0) { for (String parma : parmaes) { if (TextUtils.isEmpty(parma)) { return false; }//from w ww .j a va2s . c om } return true; } return false; } }