3

I'm using Google Fit API to develop a fitness app.

Take a look at this picture of a google fit recorded session on the Google fit app: here

I would like to know if it's possible to get the map displayed at the top of the screen. In fact, I know how to call the History API to get sessions but I can't figure out how to get the map displaying the route taken during the activity by the user.

I found this possible duplicate topic (unanswered): Google fit api: get distance/calories/speed when tracking running/biking

Any help would be appreciated !

fdieval
  • 99
  • 1
  • 6

1 Answers1

-1

With Reference to Google Developer Blog

Using the Maps API, you can show users their route, position, and place markers on the map they can tap to see more info you provide.
All of this functionality is available to you using the same Maps API you’ve already worked with on Android. Check out the doc,

DevByte

code sample

blog post

to learn more.

Community
  • 1
  • 1
Prags
  • 2,457
  • 2
  • 21
  • 38
  • The links you provide concerns Android Wear. It's not what I need. I already have a map displayed in my app. I know how to use google maps api. What I want is to know how to get the route of an activity session from google fit API. – fdieval Jan 11 '18 at 15:57
  • same API can be use with app. – Prags Jan 11 '18 at 17:21