安卓加速计

发布于 2024-10-07 19:54:33 字数 221 浏览 0 评论 0原文

是我一个人的问题还是我找不到通过谷歌搜索访问android中的加速度计的简单教程? 每当我搜索一些简单的教程(倒计时器、活动、处理程序、线程)时,我都能找到一些,但由于某种原因,加速度计主题很模糊。 一旦我从更简单的(如初学者)源中获得更清晰的理解,我就会使用 sdk 中的示例作为第二个或第三个源,这些源是其他人在他们的博客/网站上提供的示例教程。 在哪里可以获得简单的加速度计教程? 我拥有的两本书也没有任何关于此事的内容。

Is it just me or can I not find a simple tutorial on accessing the accelerometer in android via google search?
Every other time I search for some simple tutorial(countdowntimers, activities, handlers, threads) I can find some but for some reason the accelerometer subject is vague.
I use the examples from the sdk as a second or 3rd source once I get a clearer understanding from a simpler(as in for beginners) source, which are the sample tutorials other's provide on their blogs/site.
Where can I get a simple accelerometer tutorial?
Two books that I own don't have anything on the matter either.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

戏剧牡丹亭 2024-10-14 19:54:33

这是来自 android API 参考的非常有用的文档,特别注意低通滤波器,它对于平滑抖动非常有用。

http://developer.android.com/reference/android/hardware/SensorEvent .html#值

This is a very helpful bit of documentation from the android API reference, note especially the low-pass filter which can be very useful for smoothing out jitter.

http://developer.android.com/reference/android/hardware/SensorEvent.html#values

顾冷 2024-10-14 19:54:33

Milette 的专业 Android 传感器编程是一本关于 Android 传感器编程的好书。

如果您不想购买,可以随时在 Google 上搜索电子书。

Professional Android Sensor Programming by Milette is a good book for Android sensor programming.

If you don't want to buy it, you can always Google for an ebook.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文