我可以模拟在Android指南针 [英] Can I emulate a compass on Android

查看:157
本文介绍了我可以模拟在Android指南针的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想测试在模拟器指南针的应用程序。这可能还是我必须使用真实的设备。此外,我不希望使用全球定位系统。

I want to test a compass app on the emulator. Is this possible or do I have to use a real device. Also I do not want to use gps.

推荐答案

这是可以安装从OpenIntents软件sensorsimulator,但你只能用它作为在模拟器上的应用程序,并从PC发送命令。奇怪的是,一旦你退出程序在模拟器上,然后它将停止接收传感器的模拟数据。因此,它是无用的,用于测试自己的应用程序! 是否有可能以模拟仿真器传感器命令实际发送的传感器数据?像DDMS确实对GPS?

It's possible to install sensorsimulator from openintents but you can only use this as an app on the emulator and send commands from the pc. The weird thing is once you quit the app on the emulator then it stops receiving sensor simulation data. So it's useless for testing your own app! Is it possible to simulate sensor commands on the emulator to actually send sensor data? like DDMS does for GPS?

这篇关于我可以模拟在Android指南针的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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