import android.content.ContentResolver;
import android.content.Context;
import android.database.Cursor;
+import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;
import android.provider.CalendarContract.Events;
return events;
}
+ public void delete(final Context context){
+ final ContentResolver cr=context.getContentResolver();
+ cr.delete(Uri.withAppendedPath(Events.CONTENT_URI, Long.toString(_id)), null, null);
+ }
+
@Override
public int describeContents() {
return 0;