AnsweredAssumed Answered

Magd Service for accelerometer

Question asked by Rahul Thakre on Jan 23, 2018
Latest reply on Jan 25, 2018 by Rahul Thakre

Hi, I am working on a project in which i have a task of rotating screen of device. But my device only have a mma8451 accelerometer sensor and don't have magnetometer sensor. I have a pdf in which clearly mentioned that Magd service will work only when both sensors (Accelerometer and Magnetometer ) are present otherwise Magd service will exit. Now i dont have magnetometer in my device so how can i use Magd to rotate screen using accelerometer only . I don't have a source code of Magd service. I am attaching two pdfs that i was referring