I'm trying to get access to the accelerometer. Since sensor.h was not translated to Pascal yet, I translated it myself. Here it is:
http://pastebin.com/Qb2Ke35LHowever my application seems to crash when I call ASensorEventQueue_getEvents()
I'm not sure if I translated the ASensorEvent struct correctly, could anyone check?