简体   繁体   English

如何在ANDROID中实现/调试传感器驱动程序

[英]How to implement/debug a sensor driver in ANDROID

Does anyone know of a walk-through or any examples of any code to setup sensors in android. 有谁知道在Android中设置传感器的演练或任何示例代码。

I have the drivers available to me. 我有可用的驱动程序。

Also i have implemented the sensors library as instructed 我也按照指示实施了传感器库
in the Android-Reference along the sensors.h template. 在Android参考中的sensor.h模板中。

I am still unable to get any response at the apps level. 我仍然无法在应用程序级别获得任何回应。

How do i trace this issue? 我如何追踪这个问题? what might be the problem? 可能是什么问题?

Thanks in advance 提前致谢


UPDATE: 更新:

Jorgesys 's link below points to a great APP to test if the sensor drivers are functioning properly or not. Jorgesys的以下链接指向一个出色的APP,以测试传感器驱动程序是否正常运行。

Now that i know they are not functioning, Any ideas of on where to dig??... 现在我知道它们没有起作用,关于在哪里挖掘的任何想法?

This is a cool example . 这是一个很酷的例子

You can check out this project too! 您也可以签出此项目!

Sensor Simulator 传感器模拟器

And the simulation of this project here . 而这个项目的模拟这里

找到了开始开发Android传感器应用程序所需的一切

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM