2010-06-23 9 views
18

może niektórzy właściciele urządzeń z Androidem proszę przyjść do przodu i do publikowania danych, że ich telefony zapewnić jak:przykłady danych Android.os.Build prosimy

  • os.android.Build.BOARD
  • os.android .Build.BRAND
  • os.android.Build.DEVICE
  • os.android.Build.DISPLAY
  • os.android.Build.MODEL
  • os.android.Build.PRODUCT

Zastanawiam się, jaka kombinacja najlepiej identyfikuje, szukając statystyk. Z góry dziękuję.

+0

jaki jest najłatwiejszy sposób na uzyskanie tych danych? –

+0

Mam dane z moich raportów o awariach programu Acra (http://code.google.com/p/acra/). Nie można jednak znaleźć tam produktu kolumny. Prawdopodobnie można również uzyskać dane za pośrednictwem kodu w jakiś sposób. –

+6

'adb -d shell getprop | grep product' –

Odpowiedz

18

odkryłam niedawno: http://www.glbenchmark.com/phonedetails.jsp?benchmark=glpro11&D=Samsung+SGH-I997+Infuse+4G&testgroup=system

Wystarczy wybrać urządzenie na spadek następnie wybierz system zakładek, aby wyświetlić informacje o telefonie

+0

Tak, to prawie wszystko. –

+0

jest to pomocne, ale nie wydają się one publikować danych tylko jako pełną listę informacji o urządzeniu lub dają możliwość wyszukiwania wstecznego (tj. Biorąc pod uwagę android.os.Build.DEVICE, z którego telefonu pochodzi). Czy ktoś wie o źródle tych danych? –

+0

Do tej pory użyłem wyszukiwarki witryny Google do wyszukiwania wstecznego danych. Nie doskonały, ale może być pomocny: https://www.google.com/#q=site%3Ahttp%3A%2F%2Fwww.glbenchmark.com%20android.os.Build.DEVICE%09aloha - to LG Ally https://www.google.com/#q=site%3Ahttp%3A%2F%2Fwww.glbenchmark.com%20android.os.Build.DEVICE%09passion - to Google Nexus One https: // www. google.com/#q=site%3Ahttp%3A%2F%2Fwww.glbenchmark.com%20android.os.Build.DEVICE%09pyramid - to HTC Sensation https://www.google.com/#q=site % 3Ahttp% 3A% 2F% 2Fwww.glbenchmark.com% 20android.os.Build.DEVICE% 09supersonic - HTC Evo 4G –

22

HTC Desire 2.1update1:
Wyżywienie: bravo
Marka: htc_asia_wwe
urządzenie: bravo
display: ERE27
model: HTC Desire
produkt?

Nexus One, 2.2
planszowe: mahimahi
marka: google
urządzenia: Pasja
display: FRF50 (to nie jest wersja Zdjęcie N1, ale aktualizować załadowałem na niego)
modelu: Nexus One
produkt:?

EDIT:

Samsung Galaxy S, 2.1update1
wyżywienie: GT-I9000
Marka: Samsung
urządzenie: GT-I9000
display: ECLAIR
model: GT -I9000
produkt:?

+0

Doskonale, dziękuję. –

+0

Dlaczego nie ma produktu? Czy to jest NULL na tych? – malhal

+0

Wyjście to "?" o ile pamiętam. –

15

Jeśli chcesz przetestować go w emulatorze lub Real telefon, spróbuj użyć tego kodu:

String ANDROID   = android.os.Build.VERSION.RELEASE;  //The current development codename, or the string "REL" if this is a release build. 
    String BOARD   = android.os.Build.BOARD;     //The name of the underlying board, like "goldfish".  
    String BOOTLOADER  = android.os.Build.BOOTLOADER;   // The system bootloader version number. 
    String BRAND   = android.os.Build.BRAND;     //The brand (e.g., carrier) the software is customized for, if any. 
    String CPU_ABI   = android.os.Build.CPU_ABI;    //The name of the instruction set (CPU type + ABI convention) of native code. 
    String CPU_ABI2  = android.os.Build.CPU_ABI2;    // The name of the second instruction set (CPU type + ABI convention) of native code. 
    String DEVICE   = android.os.Build.DEVICE;    // The name of the industrial design. 
    String DISPLAY   = android.os.Build.DISPLAY;    //A build ID string meant for displaying to the user 
    String FINGERPRINT  = android.os.Build.FINGERPRINT;   //A string that uniquely identifies this build. 
    String HARDWARE  = android.os.Build.HARDWARE;    //The name of the hardware (from the kernel command line or /proc). 
    String HOST   = android.os.Build.HOST; 
    String ID    = android.os.Build.ID;     //Either a changelist number, or a label like "M4-rc20". 
    String MANUFACTURER = android.os.Build.MANUFACTURER;   //The manufacturer of the product/hardware. 
    String MODEL   = android.os.Build.MODEL;     //The end-user-visible name for the end product. 
    String PRODUCT   = android.os.Build.PRODUCT;    //The name of the overall product. 
    String RADIO   = android.os.Build.RADIO;     //The radio firmware version number. 
    String TAGS   = android.os.Build.TAGS;     //Comma-separated tags describing the build, like "unsigned,debug". 
    String TYPE   = android.os.Build.TYPE;     //The type of build, like "user" or "eng". 
    String USER   = android.os.Build.USER;     //