I have an android app that downloads with a service some drugs info.
For example (fludex white round 2 24-02-2012),means a drug named fludex ,white and round,must be given 2 times per day from today untill 24-01-2012.
Now i want after drug info downloading , to add repeated event with drug info to the calendar silently/programmatically(without user interaction). So that from today untill 24-01-2012 every 10 am and 10pm to have a reminder 10 minutes before to take his drug. My app will be for android 2-4. How can i do that,i'm confused from my searching so far.
Second question:How can i delete only the events(and their reminders) made from my application,so when i sync my drug therapy to delete all previous events and produce new events based on the new drug therapy i receive from my service?