如何访问 Windows Mobile 设备的加速计?
我已成功将基于 Qt 的 C++ 应用程序移植到我女朋友的 Windows Mobile 设备上。 (三星 Omnia 2。)
但是,Windows Mobile 似乎不支持 Qt Mobility Sensors API,因此需要加速计的应用程序的特定功能无法正常工作。
问题是,如何从 C++ 应用程序访问 Windows Mobile 设备的加速度计?
I've successfully ported my Qt-based C++ application to my girlfriend's Windows Mobile device. (A Samsung Omnia 2.)
However, it seems that the Qt Mobility Sensors API is not supported on Windows Mobile, so the application's specific features that would require the accelerometer are not working.
The question is, how to access the accelerometer of a Windows Mobile device from a C++ application?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的 Omnia 2 有 WM 6.5 更新,您可以使用统一传感器 API 这里
If your Omnia 2 has WM 6.5 Update you may use the unified sensor API here