haxenme/NME — pull request #52 by DanielUranga (2013-02-09 00:46:56+00:00)
Title: Initial support for GetDeviceOrientation on Blackberry devices

Added GetDeviceOrientation on Blackberry. I added it inside project/blackberry/System.cpp (not sure if that is correct, can be moved to a new file if necessary).
The orientation results it returns seems ok on a Blackberry Playbook, dont know if it will be correct on other devices.
Probably this need to be improved/corrected a little (maybe not), but the orientation results are correctly returned to the Haxe side.