开发者

Tell difference between iOS and Android in a Pure AS3 mobile project in flex 4.5?

开发者 https://www.devze.com 2023-03-03 11:09 出处:网络
Any way to know in the co开发者_JS百科de which platform you are on?Use Capabilities.os. Returns a string that identifies the host OS.

Any way to know in the co开发者_JS百科de which platform you are on?


Use Capabilities.os. Returns a string that identifies the host OS.

http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/system/Capabilities.html#os


I know this is an old post but the answer was never posted. My Droid Bionic returns Linux with the Kernel Version as the OS of your phone. Just in case someone stumbles across the post.

Returned: Linux 2.6.35.7-XXXXXX

0

精彩评论

暂无评论...
验证码 换一张
取 消