TelephonyManagertm=(TelephonyManager)this.getSystemService(TELEPHONY_SERVICE);/**唯一的设备ID:*GSM手机的IMEI和CDMA手机的MEID.*ReturnnullifdeviceIDisnotavailable.*/tm.getDeviceId();/**设备的软件版本号:*例如:theIMEI/SV(softwareversion)forGSMphones.*Returnnullifthesoftwareversionisnotavailable.*/tm.getDeviceSoftwareVersion();//String