An open API service indexing awesome lists of open source software.

https://github.com/stefnotch/vibrating-alarm-clock

A little Android alarm clock that talks to a vibrator
https://github.com/stefnotch/vibrating-alarm-clock

Last synced: 6 days ago
JSON representation

A little Android alarm clock that talks to a vibrator

Awesome Lists containing this project

README

          

# vibrating-alarm-clock
A little Android alarm clock that talks to a vibrator

![Screenshot](screenshot.png)

## TODO
- https://stackoverflow.com/a/55869641

## Extra stuff for later
- Move alarm clock to different process?
- Refresh alarms list when an alarm got triggered
- Better scanning interface and faster scanning
- Warn on missing location (turned off) and better permissions management
- Bonding, if possible https://github.com/NordicSemiconductor/Android-BLE-Library/issues/35
- Figure out why the lipstick keeps glowing
- Tell user if connecting worked and stuff https://punchthrough.com/android-ble-guide/
- Useful reference https://github.com/NordicSemiconductor/Android-nRF-Blinky/blob/master/app/src/main/java/no/nordicsemi/android/blinky/viewmodels/ScannerViewModel.java
- Manually stop snoozed alarm (somehow)
- Cancel alarm notification when alarm is manually turned off

Probably not required anymore:
- Auto reconnect on (alarm)restart
- Have a background service so that it's not that easy to accidentally cancel the alarm https://victorleungtw.com/write-your-android-app-to-run-in-background-mode-as-a-service
- Change the alarm receiver to ``
- https://forums.xamarin.com/discussion/179918/alarm-manager-setrepeating-is-not-working-in-background-and-app-got-killed

## Developer information

- Uses this library https://github.com/NordicSemiconductor/Android-BLE-Library
- Very much based on https://learntodroid.com/how-to-create-a-simple-alarm-clock-app-in-android/
- Debugging: Go to `%localappdata%\Android\Sdk\platform-tools` and then [fire up `adb logcat`](https://stackoverflow.com/questions/3643395/how-to-get-android-crash-logs)