A simple companion app for Lock PC. It puts the reminders you set on the dashboard onto someone's phone – things like "homework before games" or "take the bins out" – and pops up a notification when they're due.
- Shows today's reminders in a clear list.
- Sends notifications when a reminder is due.
- Mark as done – tick reminders off, and the dashboard sees they've been completed.
- Keeps itself up to date – reminders sync automatically, and the app starts again by itself when the phone is restarted.
- Shares the phone's location with the Lock PC account, so it can be seen on a map in the admin app.
- Install the app and log in with the Lock PC account.
- Allow notifications and location when asked.
- Reminders added on the dashboard will start appearing.
| Project | What it is |
|---|---|
| lock-pc | The Windows app that does the locking |
| lock-pc-local | The server and web dashboard, run from home |
| lock-pc-android | Phone app for managing schedules on the go |
| lock-pc-android-reminders | Phone app that receives reminders (this one) |
| lock-pc-server | The earlier cloud-hosted version of the server |
- Language: Kotlin, native Android.
- Talking to the server: Retrofit and OkHttp, using these endpoints on lock-pc-local:
GET /api/reminders– fetch remindersPOST /api/reminders/sync– report which ones are donePOST /api/location/update– send the phone's location
- Location: Google Play Services location.
- Running in the background: foreground services and WorkManager, plus a start-up receiver so it restarts after the phone reboots.
- Security: login details kept in Android's encrypted storage.
Internet, location, notifications, running in the background, and starting when the phone turns on.
- Open the project in Android Studio and let it sync.
- By default it points at
http://10.0.2.2:3000(your computer, as seen from the Android emulator). Change this to your server's address for a real phone. - Press Run, then allow the permissions when asked.