Hi Justin, first thanks for your answer. I googled a lot before posting for searching a good approach for providing my events to the Android Calendar API.
I think my own solution will be to gather all my events to save them to the calendar using the calendar API if it does not already exists. The event ID then has to be a unique identifier for my data object. This way old events can stay in calendar and new, not existing events can be added this way. (something like: http://stackoverflow.com/questions/7859005/how-to-read-and-edit-android-calendar-events-using-the-new-android-4-0-ice-cream) Regards! -Danny Schimke Am Freitag, 22. November 2013 17:27:41 UTC+1 schrieb MagouyaWare: > > Step 1: Read this - > http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html<http://www.google.com/url?q=http%3A%2F%2Fandroid-dev-tips-and-tricks.blogspot.com%2F2012%2F08%2Fso-you-need-help.html&sa=D&sntz=1&usg=AFQjCNG4gp6Lt3caONN0oaRLvZ2UdNRMIQ> > Step 2: > http://lmgtfy.com/?q=android+calendar+content+provider<http://www.google.com/url?q=http%3A%2F%2Flmgtfy.com%2F%3Fq%3Dandroid%2Bcalendar%2Bcontent%2Bprovider&sa=D&sntz=1&usg=AFQjCNEDZFIM6ZK-DWm1cCWo_tPf6NE35Q> > Step 3: Read up on Calendar Provider (the very FIRST link in the above > search) > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware<http://www.google.com/url?q=http%3A%2F%2Fsites.google.com%2Fsite%2Fmagouyaware&sa=D&sntz=1&usg=AFQjCNF1GlPVn12XOJ4zx5vsopPGYE4trA> > > > On Thu, Nov 21, 2013 at 12:22 PM, Danny S. > <[email protected]<javascript:> > > wrote: > >> Hi, >> >> I want to provide events from my application to the standard Android >> calendar (com.android.com). Now I know, that a ContentProvider is used >> to give other applications access to application data. First I thought >> about adding my own ContenProvider to allow the calendar-APP accessing my >> events indirectly, but this isn't possible, because the calendar doesn't >> know my provider. Do I have another chance instead of adding events >> manually to the Android calendar, or is it possible to create my own >> ContentProvider using the calendar's URI? >> >> I need an approach how to keep the sync between the calendar and my >> applications data. I only want to use a local calendar, no synchronization >> with a server! If my app becomes new data I need to remove old events and >> add new ones. Other events should stay in the calendar... Thats what I am >> thinking about... >> >> Thanks very much in advance! >> -Danny Schimke >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to >> [email protected]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Android Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

