Discussion on:
View:
Show:
I know what I'm going to be doing in my spare time today. Thanks for the article.
A lot of words to bring attention to android.os.Build. While you were in there, did you notice any other interesting fields? Any usable info in BOARD, DEVICE, FINGERPRINT, HARDWARE, MANUFACTURER, MODEL, PRODUCT?
I can't think of a situation where the distinction between hardware and emulator is needed. Yes, I may need to know if the device has WIFI or bluetooth or other characteristics not available on an emulator, but all of these can be determined by other means.
I can't think of a situation where the distinction between hardware and emulator is needed. Yes, I may need to know if the device has WIFI or bluetooth or other characteristics not available on an emulator, but all of these can be determined by other means.
I primarily use BUILD.MODEL to check the specific device (e.g. Kindle Fire, Nook models, etc.). BUILD.MANUFACTURER is also useful, with a little less resolution. In some cases, BUILD.PRODUCT is recommended. Research is needed for each specific model you want to identify, because not every manufacturer makes it easy.
One more that I haven't used, BUILD.SERIAL, is available in Android 2.3+.
One more that I haven't used, BUILD.SERIAL, is available in Android 2.3+.
- Keyboard Shortcuts:
- Prev
- Next
- Toggle

































