Detect user activity (running, cycling, driving) using Android

后端 未结 4 635
生来不讨喜
生来不讨喜 2021-02-01 07:39

Using my Android device how can I detect if the user is walking, cycling or driving? I have checked the Google Fit app. It differentiates between running, cycling and driving. I

4条回答
  •  耶瑟儿~
    2021-02-01 08:38

    You can use DetectActivity to differentiates between predefined types of activities.

提交回复
热议问题