Delete all entries from calendar
<p>I am trying to delete all calendar entries from calendar, but this code didn't delete no entry.</p>

<p>Source code:</p>

<pre><code>ContentResolver cr = getContentResolver();
                        Uri CALENDAR_URI = Uri.parse("content://com.android.calendar/events");
                        int id = 2; // calendar ID
                        Uri uri = ContentUris.withAppendedId(CALENDAR_URI, id);
                        cr.delete(uri, null, null);
</code></pre>
