Open M66B opened 10 years ago
This would also solve #6 and even without user intervention.
I assume the step sensor already does that. Also you can not send the request for those update from a service but only from an Activity
Unfortunately the step sensor doesn't do this, resulting in many false steps while bicycling and driving.
You can send the activity recognition events to a service. Check this source for how to: https://github.com/M66B/ActivityTracker/blob/master/src/biz/bokhorst/activitytracker/BackgroundService.java
@M66B Hi, Did you tried the combine method: activity recognition + On foot?
"On foot" is reliably detected in about 30 steps: http://developer.android.com/training/location/activity-recognition.html
This will prevent steps from being counted while driving and on bicycle.