GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - j4velin/Pedometer: Lightweight pedometer app for Android using the hardware step sensor

BranchesTags
Open more actions menu

Latest commit

 

History

521 Commits
521 Commits

Folders and files

NameName
Last commit message
Last commit date
gradle
gradle
 
 
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 
example.keystore.jks
example.keystore.jks
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
key.properties.sample
key.properties.sample
 
 
playstore_description.txt
playstore_description.txt
 
 
proguard-project.txt
proguard-project.txt
 
 
screenshot1.png
screenshot1.png
 
 
screenshot2.png
screenshot2.png
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

Pedometer

Lightweight pedometer app using the hardware step-sensor for minimal battery consumption. This app is designed to be kept running all the time without having any impact on your battery life! It uses the hardware step detection sensor of the Nexus 5, which is already running even when not using any pedometer app. Therefore the app does not drain any additional battery. Unlike other pedometer apps, this app does not track your movement or your location so it doesn't need to turn on your GPS sensor (again: no impact on your battery).

Sign in with your Google account to unlock achievements and keep you motivated!

Get it on Google Play Get it on F-Droid

Building

The app is written in Kotlin with a Jetpack Compose UI. Building it needs the Android SDK with platform 37, set as sdk.dir in local.properties or as ANDROID_HOME. Gradle downloads the JDK 21 toolchain by itself if there is none.

There are two flavors:

  • fdroid has no Google dependencies.
  • play adds achievements and leaderboards with Play Games. It needs src/play/res/values/games-ids.xml with app_id and the achievement and leaderboard IDs, as exported from the Play Console. The file is not part of the repository.
./gradlew assembleFdroidDebug                            # or assemblePlayDebug
./gradlew testFdroidDebugUnitTest testPlayDebugUnitTest  # unit and Robolectric tests
./gradlew lintFdroidDebug lintPlayDebug

Releasing

  1. Raise versionCode and versionName in build.gradle.kts. The version code is major × 1000 + minor × 100 + patch, so 2.0.0 is 2000.
  2. Copy key.properties.sample to key.properties and point it at the release keystore. Without it, or if its keystore is missing, the build warns and signs with the sample keystore in the repository.
  3. ./gradlew assembleRelease builds both flavors, minified with R8, to build/outputs/apk/<flavor>/release/.
  4. Install the release APK over the previous version on a device and check that the history and today's steps are still there.

About

Lightweight pedometer app for Android using the hardware step sensor

play.google.com/store/apps/details?id=de.j4velin.pedometer

Resources

Readme
Apache-2.0 license
Activity

Stars

1.4k stars

Watchers

86 watching

Forks

660 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.