如何将虚假的加速度计值发送到真实设备上的应用程序? [英] How to send fake Accelerometer values to an app on a real device?

查看:16
本文介绍了如何将虚假的加速度计值发送到真实设备上的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,Location Spoofer通过使用 Access Mock Location 权限,我可以让我的设备发出一个信号,表明它出现在我想要的任何地方.

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?

提前致谢.

推荐答案

您可以使用 SensorSimulator在您的 Android 设备或模拟器中模拟加速(下载链接).

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

这篇关于如何将虚假的加速度计值发送到真实设备上的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆