是否有关于Android 4.4 KitKat(目前更名为Nexus 5)步进检测器和计数器API的文档?我尝试搜索很多,但没有找到任何东西。
我打算尝试使用这些新概念,并希望使用API,但Internet上没有任何内容。
最佳答案
我为您找到了一个示例,希望对您有所帮助,API页面上的传感器说明也非常简单。
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 Project:https://github.com/theelfismike/android-step-counter
关于android - Android 4.4步检测器和计数器,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/20367402/