Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment