HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to create a Step Counter/Pedometer in Android Studio (Kotlin 2020)

46,469 views April 11, 2020 8:07

Watch on YouTube
ChannelCode Palace

Description from the creator

UPDATE* Since API level 29, you're required to ask the user for the ACTIVITY_RECOGNITION permission at runtime. For versions below 29, it will work normally.

We'll be using shared preferences to hold some data so that we can customise our app to be more user friendly. Hope it helps!

*Also as a note, your app must be running somewhere on your device for this step counter to work (it won't work if you completely close the app).

Circular progress bar: github.com/lopspower/CircularProgressBar




​​​​

About this tutorial

Code Palace published this 8:07 video tutorial on April 11, 2020. It has been watched 46,469 times on YouTube.

Category
Education
Duration
8:07
Published
April 11, 2020
Views
46,469
Likes
594

Tags

Share

This tutorial in other languages