如何测试的SensorManager在模拟器Android中? [英] how to test sensormanager on emulator in Android?

查看:127
本文介绍了如何测试的SensorManager在模拟器Android中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

结果
     我实施的SensorManager来测试设备移动它应该给精度。但问题是我没有设备来测试这个code上。是否有可能测试此的SensorManager code对模拟器??


I am implementing the sensormanager to test if the device moves it should give the accuracy. But the problem is i dont have device to test this code on. Is it possible to test this sensormanager code on Emulator??

在此先感谢,
   奥比

Thanks in advance, Aby

推荐答案

该OpenIntents软件项目都有一个传感器模拟器,但我不知道这是否与Android的电流传感器API和当前版本的作品。

The OpenIntents project has a Sensor Simulator, but I do not know if it works with the current sensor API and current versions of Android.

除此之外,作为@Mighter说,不,它是不可能的。

Beyond that, as @Mighter said, no, it is not possible.

这篇关于如何测试的SensorManager在模拟器Android中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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