This is what I'm doing, seems to work on all the devices we've seen
Class<android.os.Build> buildClass =
android.os.Build.class;
android.os.Build build = new android.os.Build ();
String board = (String) buildClass.getField("BOARD").get
(build);
String brand = (String) buildClass.getField("BRAND").get
(build);
String device = (String) buildClass.getField("DEVICE").get
(build);
String model = (String) buildClass.getField("MODEL").get
(build);
String product = (String) buildClass.getField
("PRODUCT").get(build);
String manufacturer = (String) buildClass.getField
("MANUFACTURER").get(build);
mike
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en