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
- Host: GitHub
- URL: https://github.com/janumedia/deviceinfoane
- Owner: janumedia
- Created: 2015-12-22T04:21:15.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-22T05:06:55.000Z (about 10 years ago)
- Last Synced: 2024-12-29T08:41:43.411Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 1.14 MB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 ! :)