Skip to content

Instantly share code, notes, and snippets.

@marchbold
Last active August 29, 2015 14:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marchbold/53283490ee53aea84767 to your computer and use it in GitHub Desktop.
Save marchbold/53283490ee53aea84767 to your computer and use it in GitHub Desktop.
Retrieving information about the device and operating system
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
@marchbold
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment