1
TelephonyManager.getPhoneType的值與手機相關,並且已修復或與SIM卡相關?無論sim的類型是什麼,返回值都是一個固定常量? 謝謝TelephonyManager.getPhoneType的值與手機和固定常數有關或與SIM卡有關?
TelephonyManager.getPhoneType的值與手機相關,並且已修復或與SIM卡相關?無論sim的類型是什麼,返回值都是一個固定常量? 謝謝TelephonyManager.getPhoneType的值與手機和固定常數有關或與SIM卡有關?
Th term'PhoneType'在這裏肯定是令人困惑 - 它似乎實際上意味着手機當前充當的設備類型。對於「getCurrentPhoneType」
TelephonyManager.getPhoneType
電話
getCurrentPhoneType(getDefaultSubscription())
的評論表明,它返回的設備類型特定訂閱:那麼在同一個物理的電話可以爲不同的訂閱數據有出入
/**
* Returns a constant indicating the device phone type for a subscription.
*
* @see #PHONE_TYPE_NONE
* @see #PHONE_TYPE_GSM
* @see #PHONE_TYPE_CDMA
*
* @param subId for which phone type is returned
*/