简体   繁体   English

是否有Android头文件在Firemonkey中使用指南针(方向)

[英]Is there Android header file to use compass (orientation) in Firemonkey

I tried to use orientationsensor in Firemonkey but in real devices no data was received. 我尝试在Firemonkey中使用directionsensor,但在实际设备中未收到任何数据。 Compass3D sensor was found but all values stayd zeros or nans. 找到了Compass3D传感器,但所有值均保持为零或nan。 Does anyone has header to access those sensors without Torientationsensor? 没有人可以在没有Torientationsensor的情况下访问这些传感器的标头吗?

如果使用XE9,则应调用sensor的Start方法将其打开并获取实际信息。

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

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