Lightweight pedometer app for Android using the hardware step sensor
翻译准备中
健康KotlinGitHub @j4velin自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
安装型项目无需部署域名也可验证。个人仓库可通过 GitHub 登录验证,组织仓库可使用上方的仓库验证文件。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗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!
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
versionCode and versionName in build.gradle.kts. The version code is
major × 1000 + minor × 100 + patch, so 2.0.0 is 2000.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../gradlew assembleRelease builds both flavors, minified with R8, to
build/outputs/apk/<flavor>/release/.