开发者

Get manufacturer name in android device

开发者 https://www.devze.com 2023-02-12 14:37 出处:网络
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 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 开发者_JS百科anyone know that what is the value returned for the above query in case of a dell device?


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.


Try this:

String deviceName = android.os.Build.MODEL;
0

精彩评论

暂无评论...
验证码 换一张
取 消