Spróbuj to chłopaki, zrobiłem to bardzo proste dla was wszystkich:
tylko nazwij tę metodę: getDeviceSuperInfo();
private void getDeviceSuperInfo() {
Log.i(TAG, "getDeviceSuperInfo");
try {
String s = "Debug-infos:";
s += "\n OS Version: " + System.getProperty("os.version") + "(" + android.os.Build.VERSION.INCREMENTAL + ")";
s += "\n OS API Level: " + android.os.Build.VERSION.SDK_INT;
s += "\n Device: " + android.os.Build.DEVICE;
s += "\n Model (and Product): " + android.os.Build.MODEL + " ("+ android.os.Build.PRODUCT + ")";
s += "\n RELEASE: " + android.os.Build.VERSION.RELEASE;
s += "\n BRAND: " + android.os.Build.BRAND;
s += "\n DISPLAY: " + android.os.Build.DISPLAY;
s += "\n CPU_ABI: " + android.os.Build.CPU_ABI;
s += "\n CPU_ABI2: " + android.os.Build.CPU_ABI2;
s += "\n UNKNOWN: " + android.os.Build.UNKNOWN;
s += "\n HARDWARE: " + android.os.Build.HARDWARE;
s += "\n Build ID: " + android.os.Build.ID;
s += "\n MANUFACTURER: " + android.os.Build.MANUFACTURER;
s += "\n SERIAL: " + android.os.Build.SERIAL;
s += "\n USER: " + android.os.Build.USER;
s += "\n HOST: " + android.os.Build.HOST;
Log.i(TAG + " | Device Info > ", s);
} catch (Exception e) {
Log.e(TAG, "Error getting Device INFO");
}
}//end getDeviceSuperInfo
Build.SERIAL może spróbować tego. – kumar
Możliwy duplikat [Jak wykryć informacje o systemie, takie jak os lub typ urządzenia] (http://stackoverflow.com/questions/3213205/how-to-detect-system-information-like-os-or-device-type) –