我如何在Android应用中获取硬件信息
我想在Android App(Kotlin)中以编程方式获取有关RAM(MEM大小),GPU(模型,MEM大小),CPU(模型,内核计数)等设备的信息。我发现了一些类似的帖子(例如 that ),但是那里没有解决方案。请帮我
I want to get information about a device such as RAM (mem size), GPU (model, mem size), CPU (model, count of cores) programmatically in android app(kotlin). I found some similar posts (for example that), but there is no solution there. Help me please
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我一直在环顾Android文件以及它们所包含的内容,并找到了一种获取CPU名称和可用的RAM内存大小的方法,但是找不到任何方法来获得GPU名称,
这可能无济于事,但仍然可能会有所帮助将来有人
I've been looking around android files and what they contain and found a way to get cpu name and available ram memory size, but did not found any way to get to the gpu name
This probably won't help much, but still might help someone in the future
您可以使用此 -
You can use this -
其中一些信息可通过
android。 OS.build
类。
Some of this information is available via the
android.os.Build
class.