Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bedtime #9

Open
gun4qmm7h opened this issue Sep 11, 2021 · 5 comments
Open

Add Bedtime #9

gun4qmm7h opened this issue Sep 11, 2021 · 5 comments

Comments

@gun4qmm7h
Copy link
Contributor

I was wondering if you can add a bedtime tab like what apple/google does on the clock app.

@qw123wh
Copy link
Owner

qw123wh commented Nov 10, 2021

hi i am unable to do this however I have merged your vibration pull request. If you can add bedtime as well, you or someone else will be happy to merge your pull request

@gun4qmm7h
Copy link
Contributor Author

Thank you, I'm new to android development but I would love to work on this. I have added some thing and change the timer layout a bit. (Still working on it, Can't change single zero to double zero)
image

@qw123wh
Copy link
Owner

qw123wh commented Nov 10, 2021

all your requests will be united, however if I could also solve issue #4 I would be very happy

@gun4qmm7h
Copy link
Contributor Author

I'm working on #4 and I have everything done. But I can't seem to detect the power button with "dispatchKeyEvent" or "onKeyDown". If you are able to help in some way I would appreciate it.

@qw123wh
Copy link
Owner

qw123wh commented Nov 12, 2021

hello, thanks for your help.
Try to take a look at the source code of these 2 applications and see if it can help you, these two applications let you do it, at the end when you press the power button the screen turns off, you can find also a method to detect the screen turning off as a consequence when the screen is turned off is "dismiss, snooze, nothing" the alarm

pranavkapoor001/Alarmzy@245f68e

https://github.com/WrichikBasu/ShakeAlarmClock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants