是否可以在真实(未仿真)的设备上模拟加速度计的运动? [英] Is it possible to simulate accelerometer motion on a real (not emulated) device?

查看:76
本文介绍了是否可以在真实(未仿真)的设备上模拟加速度计的运动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以像使用GPS坐标一样将假值传输到加速度传感器?

Is it possible to transmit fake values to the accelerometer sensor like it is possible with GPS coordinates?

推荐答案

如果您的意思是GPS位置,那么可以,您可以伪造该位置(请看页面的最底部): Android DDMS

If you mean the GPS location, then yes, you can fake that (look at the very bottom of the page): Android DDMS

使用DDMS,您只需告诉设备当前的GPS坐标即可.

Using the DDMS, you can simply tell your device its current GPS coordinates.

我想,这篇文章回答了您的问题 SensorSimulator 能够做到这一点.如果您在页面上向下滚动一点,它说明了如何将工具与真实设备连接.我本人从未使用过它,所以只需尝试一下:)

I guess, this post answers your question Stackoverflow. It points out that SensorSimulator is capable of doing that. If you scroll down a little bit on the page, it explains you how to connect the tool with a real device. I myself have never used it, so just try it :)

希望有帮助!

这篇关于是否可以在真实(未仿真)的设备上模拟加速度计的运动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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