How do I get the readings of various fitness activities using Google Fit API?
问题 There are various fitness activities in Google Fit API such as Aerobics, Badminton, Boxing, Weight Lifting, etc. How do I get the readings of the steps counted and the calories burnt for each of these activities using Google Fit API? Any sort of suggestions are most welcome. Thanks in advance. 回答1: I'm not sure if this result is what you need. You can use bucketByActivitySegement under DataReadRequest.Builder to split each activity segement. DataReadRequest readRequest = new DataReadRequest