Get manufacturer name in android device

拥有回忆 提交于 2019-12-09 07:50:28

问题


I need to check that android device's manufacturer is dell or not. But I haven't dell device, so cant get actually name of manufacture of device(for dell).

I'm using android.os.Build.MANUFACTURER;
Does anyone know that what is the value returned for the above query in case of a dell device?


回答1:


Here is the wikipedia link about Android devices and MANUFACTURER strings.

EDIT: That Wikipedia page has been deleted. Here is a PDF list from Google Play which lists all supported devices and their manufacturers.




回答2:


Try this:

String deviceName = android.os.Build.MODEL;


来源:https://stackoverflow.com/questions/5049648/get-manufacturer-name-in-android-device

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!