Android 4.4 步数检测器和计数器 [英] Android 4.4 Step Detector and Counter
问题描述
是否有关于 Android 4.4 KitKat(目前特别是 Nexus 5)步检测器和计数器 API 的任何文档?我尝试了很多搜索,但没有找到任何东西.
Is there any documentation around Android 4.4 KitKat's (well specifically Nexus 5 for now) step detector and counter APIs? I tried to search a lot but did not find anything.
我打算尝试使用这些新概念并想使用 API,但 Internet 上没有相关内容.
I am planning to try my hands on these new concepts and want to use the API but there's nothing around it on the Internet.
推荐答案
我为您找到了一个示例,希望对您有所帮助,API 页面上的传感器解释也非常简单.
I found an example for you, hope it helps in someway, the sensor explanation on the API page is pretty straight forward too..
API 页面:http://developer.android.com/about/versions/android-4.4.html#UserInput
博客帖子:http://theelfismike.wordpress.com/2013/11/10/android-4-4-kitkat-step-detector-code/博客中引用的Github项目:https://github.com/theelfismike/android-step-counter
Blog Post: http://theelfismike.wordpress.com/2013/11/10/android-4-4-kitkat-step-detector-code/ Github Project referenced in the blog: https://github.com/theelfismike/android-step-counter
这篇关于Android 4.4 步数检测器和计数器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!