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.
有什么方法可以在代码中知道您在哪个平台上?
使用 Capabilities.os。返回一个标识主机操作系统的字符串。
http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/system/Capabilities.html#os
我知道这是一个旧帖子,但从未发布过答案。My Droid Bionic 返回带有内核版本的 Linux 作为您手机的操作系统。以防万一有人偶然发现这个帖子。
返回:Linux 2.6.35.7-XXXXXX