Sensor simulator on 2.1

爷,独闯天下 提交于 2019-12-10 10:46:12

问题


I have a specific problem. I need to make openintents sensor simulator work on 2.1 emulator. Does anyone has an advice on how to pass around deprecated code and make it work on emulator 2.1. Ty in advance for any help or advice you might have.


回答1:


Most of the sensors are not implemented in the emulator. You need a real device to test code that access sensors within Android.

See the following site about the limitations of the emulator: http://technotak.blogspot.com/2011/02/what-are-limitations-of-android.html



来源:https://stackoverflow.com/questions/3185318/sensor-simulator-on-2-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!