How to Call back when New Calendar Event added in Phone- Android -


how can create listener calendar events, need calback program when new event or updated existing event in calendar in android.

i have created broadcase subclass named "eventreceiver" , added thin manifest too,

              <receiver                 android:name=".eventreceiver"                 android:priority="1000">                 <intent-filter>                     <action android:name="android.intent.action.provider_changed"/>                     <data android:scheme="content"/>                     <data android:host="com.android.calendar"/>                 </intent-filter>             </receiver> 

but, not called when new calendar event created/updated.

hope solution. in advance.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -