Search code examples
google-fitgoogle-fit-sdk

How to get the activity name from activity code in google fit


I am working with google fit . I have activities int value, I want to get the name of the activity from int value.


Solution

  • We can done with following method of Fittness activity

    FitnessActivities.getName(activitycode);
    

    Reference