Quick background:
I want to add alarms to my software to remind me of insulin injections & I'm trying to decide the best approach.
The requirements are:
Once a day for my basal insulin - plus "snooze" type option.
Four times a day for my bolus insulin - plus "snooze" type option.
(- all repeated each day.)
In addition I want a "snooze" type alarm for some other screens e.g. to confirm I've actually injected.
I will store the times of the main injections in a config /Map file. I was planning to sort & trigger each alarm in order using a service. However the "snooze" options may mean they overlap. I can probably manage this, but would it be easier/practical/acceptable to run 2 or 3 separate services e.g. AlarmService1, AlarmService2, AlarmService3 for the various purposes?
Regards,
Robert
I want to add alarms to my software to remind me of insulin injections & I'm trying to decide the best approach.
The requirements are:
Once a day for my basal insulin - plus "snooze" type option.
Four times a day for my bolus insulin - plus "snooze" type option.
(- all repeated each day.)
In addition I want a "snooze" type alarm for some other screens e.g. to confirm I've actually injected.
I will store the times of the main injections in a config /Map file. I was planning to sort & trigger each alarm in order using a service. However the "snooze" options may mean they overlap. I can probably manage this, but would it be easier/practical/acceptable to run 2 or 3 separate services e.g. AlarmService1, AlarmService2, AlarmService3 for the various purposes?
Regards,
Robert