开发者

Get manufacturer name in android device

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜