【Problem Description】
Using the interface, "/healthkit/v1/activityRecords", you can get running records normally, but there is no track data in it, how should you get the track record data of each record?
【solution】
1. Obtaining track records of exercise records requires atomic sampling data associated with GPS details.
See the atomic sampling data that a run can correlate with:
2. Before obtaining trajectory data, you need to apply for relevant permissions:
Relevant OAuth permission instructions:
3. Poatman request example:
Sports record query:
Example of a running exercise recording scene:
For more comprehensive technical articles, please visit https://developer.huawei.com/consumer/cn/forum/?ha_source=zzh
{{o.name}}
{{m.name}}