You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking about adding more preferences for the alarm. One setting to control how many times to execute the alarm and another setting to control the time between them. I was thinking of using a ListPreference for each setting from which the user could select a value. Thoughts?
The text was updated successfully, but these errors were encountered:
The feature has been requested quite a couple of times and I really do want to implement it. Problem is how to do the logic.
Currently the receiver, once getting the sms trigger, triggers a notification with sound.
In > Android 4.0, this is the only way to trigger a sound without using a service, so it's the easy route.
Anyway, to have such an option I'd have to create that said service, then spawn it from the receiver. The service would host a handler for the intervals that you mention in the list preference. A click on the notification(ideally) would do a removeCallbacksAndMessages call.
I'm not entirely sure what the consquences would be of implementing it like this though. I'm also not sure how to cancel it if it was implemented like this, but I have some ideas. I'm not sure I would want to be able to cancel it though. If someone had my phone, and for some reason it wasn't locked, I wouldn't want them to be able to cancel it.
I was thinking about adding more preferences for the alarm. One setting to control how many times to execute the alarm and another setting to control the time between them. I was thinking of using a ListPreference for each setting from which the user could select a value. Thoughts?
The text was updated successfully, but these errors were encountered: