Планета гаджетов / технологий
Experiment with Google Play Services — Activity Recognition
Android detects if we are walking, riding a bike or going by car without any use of Internet or GPS!
Sources:
Experimenting with Google Play Services – Activity Recognition
http://developer.android.com/reference/com/google/android/gms/location/DetectedActivity.html
http://developer.android.com/reference/com/google/android/gms/location/ActivityRecognitionClient.html
http://developer.android.com/training/location/activity-recognition.html
Источник