How to use the accelometer natively? lazarus / 43-Android ---------------------------------------------------------------------- chronozphere · 2011-11-24 09:06 Hey, I noticed that the OpenGL example felipemdc made contained a few references to the accelometer. However, they were comments. I've been looking but I could not find a way to access the accelometer natively. Is it possible or do I have to create my own binding via JNI if I wanted to do this? Thanks ---------------------------------------------------------------------- felipemdc · 2011-11-24 09:50 You can access all sensors natively in Android 2.3+ Google for "android ndk accelerometer" to see C/C++ examples, then one would need to adapt them to Pascal. ---------------------------------------------------------------------- chronozphere · 2011-11-24 10:31 Thanks! Apparently I used the wrong queries. I'll have a look at that.