Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send fake Accelerometer values to an app on a real device?

For example, Location Spoofer gives out a fake location by using the Access Mock Location permission and I can make my device send out a signal that it's present in any place that I desire.

In the same way, can I fake the Accelerometer data to mock the various situations that a user can be in?

Thanks in advance.

like image 608
VoodooChild92 Avatar asked Jun 12 '13 10:06

VoodooChild92


1 Answers

You can use SensorSimulator to simulate acceleration in your android device or emulator (download link).

like image 163
Aman Gautam Avatar answered Oct 16 '22 06:10

Aman Gautam