在2.1传感器模拟器模拟器、传感器

2023-09-06 06:21:46 作者:泪っ染湿衣角°

我有一个具体的问题。我需要OpenIntents软件传感器模拟器工作在2.1模拟器。有没有人有关于如何绕过去precated code,使其在模拟器2.1工作的建议。泰提前任何帮助或建议,您可能有。

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.

推荐答案

大多数传感器都没有在仿真器执行。你需要一个真实的设备来测试code是Android的内部访问传感器。

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

请参阅有关仿真器的局限性以下站点: http://technotak.blogspot.com/2011/02 /what-are-limitations-of-android.html

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