b-ryce
b-ryce

Reputation: 5828

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

Any way to know in the code which platform you are on?

Upvotes: 0

Views: 2148

Answers (2)

jay
jay

Reputation: 434

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

Upvotes: 0

user562566
user562566

Reputation:

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

Upvotes: 2

Related Questions