Hello everyone,
I am developing an app where different medications are registered and where it can also set days and times for their administration. So far, I can only set the admin schedule by displaying it on the phone screen. I would also like to register the same schedule in the phone calendar (not in google calendar). Is it possible to achieve it (with blocks or extensions)? Is there an example that I can refer to? thanks
each device manufacturer does have their own calendar app... so it looks a bit difficult to do that imho...
Taifun
Have you found any solutions? I'm also looking for it.
Probably the way to do this is to sync the phone calendar to google calendar.
You can then use the (google) calendar script service to handle events sent from the AI2 app.
but I want to use it on a phone which is offline
how should I make it?
I guess you would need to store created events in your app until the device is online.
To be honest, if the events are created and displayed in your app, I don't see the point in using another calendar app (not google Calendar) to display and work with the events - build your app to handle this functionality.....
Samsung's calendar is always functional (I suppose something similar happens in other companies), while the app may not be. If programmed, every event recorded in the Samsung calendar is notified with different time intervals prior to the event.
As an example: Suppose you have to take a medication and you don't have an online connection, you could forget to take it, which is not good. With the app you could establish the schedule times in advance, which then will be recorded directly in the calendar. Thus, you would have the reminder assured.
did not know. Thank you for the advise
The alarm extension uses the alarm feature of the device
There also is the alarmmanager extension, which is able to send a notification at a given datetime
Taifun