问题描述
我需要检测Android设备的芯片组。所以我可以在 MediaTek
芯片组上禁用某些功能。 (1080p编码,如这个问题所讨论的)
I need to detect the chipset of the android device. So I can disable certain functionality on MediaTek
chipset. (1080p encoding as discussed in this question MediaCodec Encoded video has green bar at bottom and chrominance screwed up)
我已经看了一下,但没有什么似乎相关。
I have taken a look at http://developer.android.com/reference/android/os/Build.html, but nothing seems relevant.
推荐答案
除了Android API,您可以使用proc调用cpuinfo获取有关CPU名称的信息(例如,您可以得到它作为mediatek,mt6589)。一个例子是但具体的SOC相关错误将需要SOC级别标识,因为未来的修订可能会删除错误,但保留相同的名称/部分号。
In addition to the Android API, you can use the proc call cpuinfo to gain information about CPU name (ex, you can get it as mediatek,mt6589). An example of this is at How to get specific information of an Android device from "/proc/cpuinfo" flie? . But specific SOC related bugs will need SOC level identification as future revisions might remove the bugs but retain the same name/partnumber.
这篇关于如何在Android设备中检测芯片组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!