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 datepicker to create alarms by selecting the specific date #4

Open
qw123wh opened this issue Feb 6, 2022 · 15 comments
Open

Add datepicker to create alarms by selecting the specific date #4

qw123wh opened this issue Feb 6, 2022 · 15 comments
Labels
enhancement New feature or request

Comments

@qw123wh
Copy link
Collaborator

qw123wh commented Feb 6, 2022

ability to create alarms by selecting the specific date

@qw123wh qw123wh added the help wanted Not enough knowledge to solve the issue label Feb 6, 2022
@BlackyHawky BlackyHawky added the enhancement New feature or request label May 4, 2024
@Nalajalan
Copy link

+1 !
For me it's the only reason not to use this app... I'm saddly absolutely not capable to help. I just wonder how is it possible to manage all the rest of the application and not this function that seems quite "natural" and allowed by the OS.

@BlackyHawky
Copy link
Owner

@Nalajalan

... I just wonder how is it possible to manage all the rest of the application and not this function that seems quite "natural" and allowed by the OS.

Because I'm learning code on my own without having studied it at school (I've only been coding for a year), so there are certain functions that I find hard to exploit because nobody ever taught me anything.

With more free time, maybe I could do it, but with the constraints of my personal life, it's complicated.

In any case, I can confirm that it is possible to implement this feature.

@Nalajalan
Copy link

I meant too that I wonder how you manage to do all the rest :)
I hope somebody will help 🤞 :)

@BlackyHawky
Copy link
Owner

I meant too that I wonder how you manage to do all the rest :)

I guess you know I didn't create the app; 90% is based on AOSP clock.
For my part, I've only allowed the user more customization, reworked the digital widgets, settings, a bit of the timer, permissions, and other things I've forgotten.
I only succeeded because it was easy to play with these pieces of code.

I hope somebody will help 🤞 :)

I hope so too.

@Komas19-new
Copy link

is it also possible to set multiple dates, by just pressing on specific days?

@BlackyHawky
Copy link
Owner

@Komas19-new
That's the goal to resolve this issue but I'm not sure how to do it 😬
Moreover, my free time is currently limited.

@BlackyHawky
Copy link
Owner

@qw123wh @odmfl @Nilsu11
I've finally had a few hours to work on it, and the results seem to be very positive.

Currently, the most annoying thing is that you have to delete the data from the app for the modification to take effect.
I'll try to find a way not to have to do this for the next update.
In any case, we can assume that this issue will be resolved very soon.

You can test it with the apk below.

@Komas19-new
I was wrong: you can only select one date per alarm, and that seems logical. (The Google app works the same way.)

Clock_2.10_beta-debug.zip

@qw123wh
Copy link
Collaborator Author

qw123wh commented Nov 9, 2024

@qw123wh @odmfl @Nilsu11 I've finally had a few hours to work on it, and the results seem to be very positive.

Currently, the most annoying thing is that you have to delete the data from the app for the modification to take effect. I'll try to find a way not to have to do this for the next update. In any case, we can assume that this issue will be resolved very soon.

You can test it with the apk below.

@Komas19-new I was wrong: you can only select one date per alarm, and that seems logical. (The Google app works the same way.)

Clock_2.10_beta-debug.zip

Fantastic I'm very happy 🔝🔝🎉🎉

@BlackyHawky
Copy link
Owner

I'm really sorry but I really don't know how to make this change without having to reinstall the application or clear the data.

Indeed, I had to modify the SQL database and every time I changed these files, the application crashed during an update.

Fortunately, we can now make a backup/restore.

Do you mind if we unfortunately have to reinstall the app (or clear the data)?

@qw123wh
Copy link
Collaborator Author

qw123wh commented Nov 10, 2024

For me it is not a problem to reinstall the app or delete the data.

Is the crash caused by SQL database update?
I found something I don't know if it can help

https://stackoverflow.com/questions/53172400/how-to-update-your-android-sql-database-without-crashing-the-app

https://medium.com/@myofficework000/upgrading-sqlite-database-5a0c8bcb9c10

@BlackyHawky
Copy link
Owner

@qw123wh
Thank you very much for your links!! 🎉🎉
But why didn't I find this sooner?!! This would have avoided a big inconvenience when version 2.6 was released…

In any case, thank you again because according to my tests it seems functional. 😉

@BlackyHawky BlackyHawky removed the help wanted Not enough knowledge to solve the issue label Nov 11, 2024
@BlackyHawky
Copy link
Owner

@qw123wh
I'm providing you with an early release of the application so that you can benefit from this improvement. 😉

Thanks to your research, it's obviously not necessary to delete the application's data. Thanks again.

Clock_2.10_beta-release.zip

@qw123wh
Copy link
Collaborator Author

qw123wh commented Nov 11, 2024

@qw123wh I'm providing you with an early release of the application so that you can benefit from this improvement. 😉

Thanks to your research, it's obviously not necessary to delete the application's data. Thanks again.

Clock_2.10_beta-release.zip

Thanks ❤️, I'm glad you found the solution through those links.
With this feature we have officially surpassed Google Clock 🎉🎉

This app has reached a very high level 🔝🔝🔝

@BlackyHawky BlackyHawky reopened this Nov 24, 2024
@BlackyHawky
Copy link
Owner

@qw123wh
As mentioned in #136, adding this feature causes a bug when the days of the week are selected which is very annoying because it breaks a main functionality of the application.

Unfortunately I didn't find the solution; so I preferred to remove this feature in order to provide a "clean" version as soon as possible.

I hope to find the source of the problem soon.

I also hope you won't be too disappointed.

@qw123wh
Copy link
Collaborator Author

qw123wh commented Nov 29, 2024

@BlackyHawky Don't worry, I understand that this feature caused several bugs, we will find a solution in the future

@BlackyHawky BlackyHawky marked this as a duplicate of #202 Mar 5, 2025
@BlackyHawky BlackyHawky marked this as a duplicate of #89 Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants