I asked this question everywhere else but did not get any answer. How to simulate the gyroscope, accelerometer and other sensors on an Android Smart TV, set-top box and other devices that do not have any sensors?
The reason I ask is because I played some Android game on a set-top box that only accepted sensor input. So could there be an app that could simulate sensor input? Perhaps I could write a program that sets sensor data instead of getting sensor data. For example, is it possible to set a value to SensorEvent.values[0] ?
The reason I ask is because I played some Android game on a set-top box that only accepted sensor input. So could there be an app that could simulate sensor input? Perhaps I could write a program that sets sensor data instead of getting sensor data. For example, is it possible to set a value to SensorEvent.values[0] ?