Code example for TelephonyManager

Methods: getSimStategetSubscriberId

0
    } 
     
     
    public String getIMSI() {
        if(m_allowToReadPhoneState && 
                (m_telMgr.getSimState() == TelephonyManager.SIM_STATE_READY)) {
             
            return checkValidString(m_telMgr.getSubscriberId());
        } 
        return null; 
    } 
     
     
    public String getBlackBerryPIN() {
        return null; // not a blackberry 
    } 
     
 
    public String getBluetoothMACAddress() {
        return null; // bluetooth packages not included in android yet 
Experience pair programming with AI  Get Codota for Java