Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting list of activities(Movements) from google fit api

I am creating application which can use google fit api. I want to get all the activities(Movements) available in the google fit. Here the list of activities in google fit Reference.

Edited

I know the way how to get the activities which performed by user, But i want complete list of activities which available in the google fit API (Not only the activity which performed by user, need whole list of activities) like the list available in the above link.

like image 378
Rakki s Avatar asked Sep 29 '22 08:09

Rakki s


1 Answers

The Google Fit activities are listed in the FitnessActivities class.

You can programmatically get a list of all these fields using:

FitnessActivities.class.getFields()
like image 146
Murphy Avatar answered Oct 05 '22 08:10

Murphy