Skip to content

bradparks/HypSystem

 
 

Repository files navigation

HypSystem

A native extension for Haxe NME

This extensions contains a bunch of tools methods for iOS & Android ( and some for blackberry too )

Installation

There is an include.nmml file and the ndll are compiled for:

  • ios armv6
  • ios armv7
  • ios simulator
  • android armv6

Recompiling

For recompiling the native extensions just use the sh files contained in the project folder.

Basic reference

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

Made at Hyperfiction

hyperfiction.fr

Developed by : Johann Martinache @shoe_box

License

This work is under BSD simplified License.

About

HypSystem : Native extension for Haxe NME ( iOS & Android )

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published