Is it possible to simulate, for example, events for the android accelerometer?
Imagine the following scenario: I have an application that at some point, if it detects the value X from the accelerometer, displays a dialog with a question to the user interface.
I want to do a test for him. To do this, I want to programmatically simulate a jitter with this X value and check if a dialog box appears.
I already know Sensor Simulator , but is there a way to send a value for an accelerometer or other sensor and get it using a SensorEventListener?
Thanks in advance,
source share