android - Get _ID Calendar.Events changed on provider -


searching here , on internet, found several examples of how capture updated calendar. did not find how capture id ("_id" events table).

has done similar.

i'm trying this:

public class calendarreceiver extends broadcastreceiver {      @override     public void onreceive(context context, intent intent) {         log.d("calendar", "updated " + intent.touri(intent.uri_intent_scheme));     } } 

and manifest:

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

the log invoked when event on calendar updated, need _id of edited event.

i believe intent can see not know how capture.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -