Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
要检测 Android 操作系统,我们可以在 navigator.userAgent 字符串中搜索“Android”关键字。
但是,我的问题是如何检测它是 Android Arm 设备还是 Android X86 设备?
试试这个:
System.getProperty("os.arch");
原帖:API 调用获取处理器架构