¡@

Home 

2014/10/16 ¤W¤È 08:25:43

android Programming Glossary: telephonyinfo

Android : Check whether the phone is dual SIM

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

void onCreate Bundle savedInstanceState super.onCreate savedInstanceState setContentView R.layout.activity_main TelephonyInfo telephonyInfo TelephonyInfo.getInstance this String imeiSIM1 telephonyInfo.getImeiSIM1 String imeiSIM2 telephonyInfo.getImeiSIM2.. savedInstanceState super.onCreate savedInstanceState setContentView R.layout.activity_main TelephonyInfo telephonyInfo TelephonyInfo.getInstance this String imeiSIM1 telephonyInfo.getImeiSIM1 String imeiSIM2 telephonyInfo.getImeiSIM2 boolean isSIM1Ready.. n IME2 imeiSIM2 n IS DUAL SIM isDualSIM n IS SIM1 READY isSIM1Ready n IS SIM2 READY isSIM2Ready n And here is TelephonyInfo.java import java.lang.reflect.Method import android.content.Context import android.telephony.TelephonyManager public final..