輕量級步數計應用程式,適用於 Android,利用硬體步數感測器。
AI 翻譯
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/.