Last active
August 29, 2015 14:23
-
-
Save marchbold/53283490ee53aea84767 to your computer and use it in GitHub Desktop.
Retrieving information about the device and operating system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Application.init( APP_KEY ); | |
if (Application.isSupported) | |
{ | |
// | |
// PRINT DEVICE INFORMATION | |
trace( "DEVICE INFO ============================" ); | |
trace( " name: " + Application.service.device.name ); | |
trace( " brand: " + Application.service.device.brand ); | |
trace( " manufacturer: " + Application.service.device.manufacturer ); | |
trace( " device: " + Application.service.device.device ); | |
trace( " model: " + Application.service.device.model ); | |
trace( " product: " + Application.service.device.product ); | |
trace( "OPERATING SYSTEM =======================" ); | |
trace( " name: " + Application.service.device.os.name ); | |
trace( " type: " + Application.service.device.os.type ); | |
trace( " version: " + Application.service.device.os.version ); | |
} | |
// com.distriqt.Application |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://airnativeextensions.com/extension/com.distriqt.Application