在Google Play服务活动识别中有
DetectedActivity.RUNNING, DetectedActivity.WALKING, DetectedActivity.ON_FOOT
当我得到行走或跑步的活动更新时,我得到ON_FOOT
我该如何区分?
我知道它说RUNNING和WALKING:"这是ON_FOOT的子活动"
谢谢你的帮助.
android google-play-services activity-recognition
activity-recognition ×1
android ×1
google-play-services ×1