¡@

Home 

2014/10/16 ¤W¤È 08:21:33

android Programming Glossary: predictedmethodname

Android : Check whether the phone is dual SIM

http://stackoverflow.com/questions/14517338/android-check-whether-the-phone-is-dual-sim

if you wish e1.printStackTrace return telephonyInfo private static String getDeviceIdBySlot Context context String predictedMethodName int slotID throws GeminiMethodNotFoundException String imei null TelephonyManager telephony TelephonyManager context.getSystemService.. .getName Class parameter new Class 1 parameter 0 int.class Method getSimID telephonyClass.getMethod predictedMethodName parameter Object obParameter new Object 1 obParameter 0 slotID Object ob_phone getSimID.invoke telephony obParameter if.. ob_phone null imei ob_phone.toString catch Exception e e.printStackTrace throw new GeminiMethodNotFoundException predictedMethodName return imei private static boolean getSIMStateBySlot Context context String predictedMethodName int slotID throws GeminiMethodNotFoundException..