English · Español
Log each dose when you need it and discover your own patterns, without a fixed schedule.
No required alarms · No accounts · No internet access.
Screenshots use sample data.
Contents: What it is · Features · Privacy · What it is not · Install · Build · How it works · Contribute · Support · License
PillMate is an Android app for on-demand medication logging: medication you take when you need it, not on a fixed schedule. Log each dose with one tap, then see your own pattern: when you take it, how much, and how far apart.
It is not an alarm-based pill reminder. Reminders are available, but optional.
Three principles guide the app:
- It works offline. It does not just avoid the internet; it has no permission to use it.
- Logging takes one tap. If logging is slower than skipping it, people will skip it.
- It describes, it does not judge. It shows what you logged. It does not score adherence, set goals, or give advice.
Status:
2.0.0is the first stable release. It is used daily, but has only been tested on a small number of devices. If something breaks, please open an issue. Download the APK from Releases; PillMate is not on Google Play.
- One tap. Four quick actions on the home screen. Long-press to change the amount or time. If you make a mistake, undo it.
- Without opening the app. Use a home-screen widget or a persistent notification to log a dose.
- A widget that fits your setup. Resize it to 2×2, a row, or a column. Choose from three shapes, three densities, and eight colors.
- Half and quarter doses. Amounts step by 0.25.
- Notes. Add a text note to a dose or record an encrypted voice note.
- Archive. Medications you rarely use leave Home, the widget and reminders without losing their history. Bring them back from the archive icon in Meds.
- 24-hour clock. Each dose appears as a dot in its medication's color. A day shows the exact time; a week or month groups doses by hour. Tap a dot or bar to see what was logged.
- Your pattern in numbers. See your most active hour, usual interval between doses, most logged medication, and day with the most doses. These insights use arithmetic, not AI.
- Medication statistics. See daily amounts (mg, ml, drops) and dose counts, with strengths of the same medication grouped together.
- History. Browse by day, week, or month, and search notes.
- Create a restorable ZIP backup, or export to CSV or PDF.
- Optionally lock the app with biometrics.
- Interactive introduction: four short, tappable pages the first time you open the app. You can replay them from Settings.
- Two designs: Rhythm and Classic, with light, dark, and Material You themes.
PillMate has no internet permission. It cannot send your data anywhere. An automated test checks that the final app package does not include internet access (PrivacyContractTest).
- No accounts, analytics, ads, or third-party services.
- Data stays on your device. It leaves only when you choose to export it.
Permissions and why the app uses them:
| Permission | Purpose |
|---|---|
| Notifications, exact alarms, startup | Optional reminders and the quick-dose notification |
| Microphone | Voice notes |
| Camera and photos | Medication photos |
| Biometrics | App lock |
PillMate describes what you log; it does not give medical advice. It does not calculate maximum doses, check interactions, or score your adherence. It is not a medical device. Decisions about your medication remain between you and your prescriber.
- Download the latest APK from Releases.
- Open it on your phone. Android will ask you to allow installs from that source, such as your browser or file manager.
- Open PillMate. The introduction covers the basics in about a minute.
Requires Android 8.0 or later.
Updates. PillMate has no internet access, so it cannot notify you about new versions. Check Releases or use Obtainium to watch this repository. Updating preserves your data.
Before updating or changing phones, create a backup from Settings → Data.
You need Android Studio (or the Android SDK) and JDK 17 or later.
git clone https://github.com/D4vRAM369/PillMate.git
cd PillMate
./gradlew :app:assembleDebug # build
./gradlew :app:testDebugUnitTest # run unit testsTo install a separate development build alongside your regular app, use the -Pdev variant:
./gradlew :app:assembleDebug -Pdev
adb install --user 0 -r app/build/outputs/apk/debug/app-debug.apkThe development build uses the application ID dev.d4vram.pillmate2 and has its own database.
To build a signed release, add a local, untracked keystore.properties file in the project root with storeFile, storePassword, keyAlias, and keyPassword.
Kotlin · Jetpack Compose and Material 3 · Room · DataStore · Glance (widget) · Navigation Compose. Minimum Android version: API 26 (Android 8.0); compiled against Android 15 (API 35).
The app has one module and follows MVVM: Compose screens, ViewModels with StateFlow, a repository, and Room underneath.
app/src/main/java/com/d4vram/pillmate2/
├── data/ Room (entities, DAOs, migrations), repository, backup and export
├── model/ Models used by the interface
├── ai/ SmartInsightEngine: arithmetic-based patterns, despite the name
├── notifications/ Reminders and the quick-dose notification
├── widget/ Home-screen widget (Glance)
└── ui/
├── screens/ Home, medications, history, statistics, notes, settings
├── timeline/ 24-hour clock
├── onboarding/ Introduction
└── theme/ Themes, designs, and preferences
The Room schema is exported to app/schemas/ so migrations can be checked.
Bug reports and ideas are welcome. Before suggesting a feature, keep the three principles above in mind—and one more: the app does not use AI.
For code changes, run ./gradlew :app:testDebugUnitTest. Do not include real medication data in examples, screenshots, or tests.
PillMate is free and will stay free, with no ads or in-app purchases. If you find it useful and would like to buy me a coffee:
Copyright © 2025–2026 D4vRAM369
PillMate is free software: you may redistribute and modify it under the terms of the GNU General Public License, version 3, or any later version. It is distributed in the hope that it will be useful, but without any warranty.
In short: you can use it, study it, change it, and share it. If you distribute a modified version, it must remain free under this same license.




