You Слишком много деталей с вами
/**
* @TelePhonyManager: for telephony related details some permission like CoarseLocation, PhoneState are neccessary to get some Telephony Details
*/
String telephonyInfo = "", buildInfo = "", deviceId, cellLocation, deviceSoftwareVersion, number, networkOperatorIso, networkOperatorName, NetworkType, PhoneType, simOperatorISO, simOperatorName, simSerialNumber, subscriberId, voiceMailNumber, isNetworkRoaming;
try
{
TelephonyManager tm =
(TelephonyManager) mContext
.getSystemService(Context.TELEPHONY_SERVICE);
GsmCellLocation gcl =
(GsmCellLocation) tm
.getCellLocation();
gcl.requestLocationUpdate();
deviceId = "";
cellLocation = "";
telephonyInfo =
"TelephonyInfo \n\tCellLocation_CID_LAC_PSC_MCCMNC ="
+
String.valueOf(gcl
.getCid()
+ "_"
+ gcl.getLac()
+ "_"
+ gcl.getPsc()) + String.valueOf(tm.getNetworkOperator())
+ "\n\tDeviceId ="
+
String.valueOf(tm
.getDeviceId())
+ "\n\tDviceSoftwareVersion ="
+
String.valueOf(tm
.getDeviceSoftwareVersion())
+ "\n\tNumber ="
+
String.valueOf(tm
.getLine1Number())
+ "\n\tNetworkOperatorIso ="
+
String.valueOf(
tm.getNetworkCountryIso())
.toUpperCase()
+ "\n\tNetworkOperatorName ="
+
String.valueOf(tm
.getNetworkOperatorName())
+ "\n\tNetworkType ="
+
String.valueOf(tm
.getNetworkType())
+
"\n\tPhoneType ="
+
String.valueOf(tm
.getPhoneType())
+ "\n\tSimOperatorISO ="
+
String.valueOf(
tm.getSimCountryIso())
.toUpperCase()
+ "\n\tSimOperatorName ="
+
String.valueOf(
tm.getSimOperatorName())
.toUpperCase()
+ "\n\tSimSerialNumber ="
+
String.valueOf(tm
.getSimSerialNumber())
+ "\n\tSubscriberId ="
+
String.valueOf(tm
.getSubscriberId())
+ "\n\tVoiceMailNumber ="
+
String.valueOf(tm
.getVoiceMailNumber())
+ "\n\tIsNetworkRoaming ="
+
String.valueOf(tm
.isNetworkRoaming());
}
catch(Exception e)
{
}
/*
* BuildVersion Related Detials
*/
try
{
buildInfo =
"Build\n\t BOARD="
+ Build.BOARD
+ "\n\t BOOTLOADER="
+ Build.BOOTLOADER
+ "\n\t BRAND="
+ Build.BRAND
+ "\n\t CPU_ABI="
+ Build.CPU_ABI
+ "\n\t CPU_ABI2="
+ Build.CPU_ABI2
+ "\n\t DEVICE="
+ Build.DEVICE
+ "\n\t DISPLAY="
+ Build.DISPLAY
+ "\n\t FINGERPRINT="
+ Build.FINGERPRINT
+ "\n\t HARDWARE="
+ Build.HARDWARE
+ "\n\t HOST="
+ Build.HOST
+ "\n\t ID="
+ Build.ID
+ "\n\t MANUFACTURER="
+ Build.MANUFACTURER
+ "\n\t MODEL="
+ Build.MODEL
+ "\n\t PRODUCT="
+ Build.PRODUCT
+ "\n\t SERIAL="
+ Build.SERIAL
+ "\n\t TAGS="
+ Build.TAGS
+ "\n\t TIME="
+ Build.TIME
+ "\n\t TYPE="
+ Build.TYPE
+ "\n\t UNKNOWN="
+ Build.UNKNOWN
+ "\n\t USER="
+ Build.USER
+ "\n\n\nBuild.VERSION \n\tVERSION.CodeName="
+ Build.VERSION.CODENAME
+ "\n\t VERSION.INCREMENTAL= "
+ Build.VERSION.INCREMENTAL
+ "\n\t VERSION.RELEASE= "
+ Build.VERSION.RELEASE
+ "\n\t VERSION.SDK_INT= "
+ Build.VERSION.SDK_INT;
}
catch(Exception e)
{}