Search code examples
androidflagsandroid-calendarandroid-event

How to detect android calendar events are edited?


I already complete contacts synchronization. In contact synchronization I use VERSION flag for detecting existing contacts edited by user.

But in calendar synchronization I cannot find VERSION flag.

Then How I detect existing calendars are edited or not?

VERSION flag not availble in calendar, so what flag used for listen changes in android calendar?

thanks for your valuable answer..


Solution

  • finally I found solution,

    I use DIRTY flag if any changes happen it automatically set to 1.

    If DIRTY=1 then I update edited contents to my own server.

    and also reset this DIRTY flag to zero.