Is there a library for Haxe so that one can, for example, access the readings from a device's compass? Does HaxeNME have any such features?For example, take a look at the PhoneGap framework for making cross-platform apps using HTML5. It provides developers with JavaScript API for getting such things as compass readings or screen orientation readings. Under the hood, the API is calling native functions specific to the platform on which the app is running, but to the developer he only has to worry about a single API (an abstraction).Does something like this already exist for Haxe or HaxeNME? I'd like to use the power of NME to make dynamic animated apps, but be able to access certain things like the device tilt/gyro, compass, etc, regardless of device. If a feature like this doesn't already exist, adding would be a great addition to Haxe.
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
I meant *aiming* in my previous reply. Do Croxit and PhoneGap both use webkit? That's what I'm guessing since it uses the iOS web view. Please describe all the advantages Croxit has over PhoneGap. That'd be very helpful!
I'll be looking forward to seeing how Croxit progresses.