Search code examples
androidgoogle-mapsgpsgoogle-maps-api-2

Android application - Is it possible to figure out if a person is walking or using a vehicle using google maps


I am building an android application. I would like to know automatically if the user if walking or using a vehicle like a car when the application is switched on.

I'll be obviously using google maps to do it. But can someone give me pointer on how should I go about it.


Thanks


Solution

  • Yes, you could use the new Activity Recognition API that is part of Google Play Services. You can find more information in this link.