This extensions contains a bunch of tools methods for iOS & Android ( and some for blackberry too )
There is an include.nmml file and the ndll are compiled for:
- ios armv6
- ios armv7
- ios simulator
- android armv6
For recompiling the native extensions just use the sh files contained in the project folder.
Common between iOs & Android:
-
isConnected : Test connection status
-
isSmartPhone : Smartphone or tablet ?
-
getSystem_lang : return the system language code
Android:
-
show_loading : show a loading spinner
-
hide_loading : hide the loading spinner
-
dismiss_loading : dismiss the spinner
-
isWifi : Test if the device is Wifi connected
-
getScreen_bucket : Return the device screen bucker
-
getDensity : Return the screen density of the device
-
wakeLock : Prevent screen dimming
-
lightsOut : Lights Out mode
-
getLocal_IP : Get the local ip of the device
-
openDialog : Open a native Android Dialog
Developed by : Johann Martinache @shoe_box
This work is under BSD simplified License.