标签:extc nis util elm man ice string manage manager
public static boolean isColombiaSpanishSimCard(){
TelephonyManager telManager = (TelephonyManager) mContextCopy.getSystemService(Context.TELEPHONY_SERVICE);
String imsi = telManager.getSubscriberId();
android.util.Log.d("Neo","imsi == "+imsi);
if(null != imsi){
android.util.Log.d("Neo","imsi.substring(0,6) == "+imsi.substring(0,6));
if("732103".equals(imsi.substring(0,6)) || "732111".equals(imsi.substring(0,6))){
return true;
}
}
return false;
}
标签:extc nis util elm man ice string manage manager
原文地址:http://www.cnblogs.com/neo-java/p/6830328.html