X xeriko Member Licensed User Longtime User May 3, 2014 #1 Hi, as you know Android 4.4 adds operating system support for two new composite sensors: step counter and step detector. This support will allow fitness app developers to access pedometer data without writing complex code and algorithms. is anybody develop library for step counter ?
Hi, as you know Android 4.4 adds operating system support for two new composite sensors: step counter and step detector. This support will allow fitness app developers to access pedometer data without writing complex code and algorithms. is anybody develop library for step counter ?
Erel B4X founder Staff member Licensed User Longtime User May 4, 2014 #2 There is no need for a new library. You can use PhoneSensors from the Phone library. Add these two lines to the sensors example: B4X: Expand Collapse Copy AddSensor(18, "TYPE_STEP_DETECTOR", False) AddSensor(19, "TYPE_STEP_COUNTER ", False) http://www.b4x.com/android/forum/threads/6647/#content Upvote 0
There is no need for a new library. You can use PhoneSensors from the Phone library. Add these two lines to the sensors example: B4X: Expand Collapse Copy AddSensor(18, "TYPE_STEP_DETECTOR", False) AddSensor(19, "TYPE_STEP_COUNTER ", False) http://www.b4x.com/android/forum/threads/6647/#content