如何在GsmServiceStateTracker.java文件中了解SIM是否存在?
答案 0 :(得分:0)
找到答案:
TelephonyManager.getDefault()。getSimState()返回SIM状态。
SIM状态的可能值:
SIM_STATE_UNKNOWN
SIM_STATE_ABSENT
SIM_STATE_PIN_REQUIRED
SIM_STATE_PUK_REQUIRED
SIM_STATE_NETWORK_LOCKED
SIM_STATE_READY