获取手机信息

String phoneInfo = "Product: " + android.os.Build.PRODUCT;
		 
        phoneInfo += ", "+ "\n" + " + CPU_ABI: " + android.os.Build.CPU_ABI;
 
        phoneInfo += ", "+ "\n" + " + TAGS: " + android.os.Build.TAGS;
 
        phoneInfo += ", "+ "\n" + " + VERSION_CODES.BASE: " + android.os.Build.VERSION_CODES.BASE;
 
        phoneInfo += ", "+ "\n" + " + MODEL: " + android.os.Build.MODEL;
 
        phoneInfo += ", "+ "\n" + " + SDK: " + android.os.Build.VERSION.SDK;
 
        phoneInfo += ", "+ "\n" + " + VERSION.RELEASE: " + android.os.Build.VERSION.RELEASE;
 
        phoneInfo += ", "+ "\n" + " + DEVICE: " + android.os.Build.DEVICE;
 
        phoneInfo += ", "+ "\n" + " + DISPLAY: " + android.os.Build.DISPLAY;
 
        phoneInfo += ", "+ "\n" + " + BRAND: " + android.os.Build.BRAND;
 
        phoneInfo += ", "+ "\n" + " + BOARD: " + android.os.Build.BOARD;
 
        phoneInfo += ", "+ "\n" + " + FINGERPRINT: " + android.os.Build.FINGERPRINT;
 
        phoneInfo += ", "+ "\n" + " + ID: " + android.os.Build.ID;
 
        phoneInfo += ", "+ "\n" + " + MANUFACTURER: " + android.os.Build.MANUFACTURER;
 
        phoneInfo += ", "+ "\n" + " + USER: " + android.os.Build.USER;

 

 ___Product: MB525_HKTW, 
 + CPU_ABI: armeabi-v7a, 
 + TAGS: release-keys, 
 + VERSION_CODES.BASE: 1, 
 + MODEL: MB525, 
 + SDK: 8, 
 + VERSION.RELEASE: 2.2.2, 
  + DEVICE: umts_jordan, 
 + DISPLAY: JEM_3.4.3-36-1.7, 
 + BRAND: MOTO, 
 + BOARD: jordan, 
 + FINGERPRINT: MOTO/MB525_HKTW/umts_jordan/jordan:2.2.2/JEM_3.4.3-36-1.7/1307424479:user/release-keys, 

 + ID: JEM_3.4.3-36-1.7, 
 + MANUFACTURER: motorola, 
  + USER: fdc376

 

你可能感兴趣的:(获取)