Java tutorial
//package com.java2s; import android.text.TextUtils; public class Main { public static boolean isAidExisit(String apdu, String aid) { if (TextUtils.isEmpty(apdu) || TextUtils.isEmpty(aid)) { return false; } return apdu.toLowerCase().contains(aid.toLowerCase()); } }