- 获取手机系统信息
String phoneInfo = "Product: " + android.os.Build.PRODUCT + "\n";
phoneInfo += "CPU_ABI: " + android.os.Build.CPU_ABI + "\n";
phoneInfo += "TAGS: " + android.os.Build.TAGS + "\n";
phoneInfo += "VERSION_CODES.BASE: " + android.os.Build.VERSION_CODES.BASE + "\n";
phoneInfo += "MODEL: " + android.os.Build.MODEL + "\n";
phoneInfo += "SDK: " + android.os.Build.VERSION.SDK + "\n";
phoneInfo += "VERSION.RELEASE: " + android.os.Build.VERSION.RELEASE + "\n";
phoneInfo += "DEVICE: " + android.os.Build.DEVICE + "\n";
phoneInfo += "DISPLAY: " + android.os.Build.DISPLAY + "\n";
phoneInfo += "BRAND: " + android.os.Build.BRAND + "\n";
phoneInfo += "BOARD: " + android.os.Build.BOARD + "\n";
phoneInfo += "FINGERPRINT: " + android.os.Build.FINGERPRINT + "\n";
phoneInfo += "ID: " + android.os.Build.ID + "\n";
phoneInfo += "MANUFACTURER: " + android.os.Build.MANUFACTURER + "\n";
phoneInfo += "USER: " + android.os.Build.USER + "\n";
TextView t = (TextView) findViewById(R.id.textView);
t.setText(phoneInfo);