获取Android设备中的制造商名称

发布于 2024-10-18 12:45:01 字数 152 浏览 6 评论 0原文

我需要检查 Android 设备的制造商是否是戴尔。 但我没有戴尔设备,因此无法实际获取设备制造商名称(对于戴尔)。

我正在使用 android.os.Build.MANUFACTURER;
有谁知道如果是戴尔设备,上述查询返回的值是多少?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

悸初 2024-10-25 12:45:01

这里是有关 Android 设备和 MANUFACTURER 字符串的维基百科链接。

编辑:该维基百科页面已被删除。 此处是来自 Google Play 的 PDF 列表,其中列出了所有受支持的设备及其制造商。

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.

谁的新欢旧爱 2024-10-25 12:45:01

试试这个:

String deviceName = android.os.Build.MODEL;

Try this:

String deviceName = android.os.Build.MODEL;
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文