Reputation: 45
I am working on an Android app, which warns the user if he has not been moving for a fixed period of time. I wanted to determine if the user moves by comparing the GPS positions every few seconds. Since I have however heard that the GPS positions are very inaccurate and can vary greatly, I was wondering what the best way would be to determine if the user does not move?
Upvotes: 2
Views: 1838
Reputation: 706
I would look at using activity recognition. You can get more information about it here: http://developer.android.com/training/location/activity-recognition.html
Upvotes: 2
Reputation: 549
I would think using the accelerometer would be a fairly good way of determining if they had been moving.
Upvotes: 3