An open API service indexing awesome lists of open source software.

https://github.com/janumedia/deviceinfoane

Native Extension to get Android device information
https://github.com/janumedia/deviceinfoane

Last synced: about 1 month ago
JSON representation

Native Extension to get Android device information

Awesome Lists containing this project

README

          

This is a demo Native Extension to get Android device information

Extension ID
---------
```
com.janumedia.ane.deviceinfo
```

Usage
---------

```
var d:DeviceInfo = DeviceInfoExtension.instance.deviceInfo;

trace("brand", d.brand);
trace("device", d.device);
trace("manufacturer", d.manufacturer);
trace("model", d.model);
trace("product", d.product);
trace("sdkVersion", d.sdkVersion);
trace("density", d.density);
trace("densityDpi", d.densityDpi);
trace("heightPixels", d.heightPixels);
trace("widthPixels", d.widthPixels);

Feel FREE to use , distribute or update ! :)