1

How can I delete all the contacts?

wim
  • 338,267
  • 99
  • 616
  • 750
dijo
  • 11
  • 4

1 Answers1

0

Previously asked and answered (I assume you've looked at it since your code is very similar): Delete calendar entries

Do you have the necessary permissions to access that provider (you need READ_CALENDAR and WRITE_CALENDAR)?

Community
  • 1
  • 1
Femi
  • 64,273
  • 8
  • 118
  • 148
  • Ah. For that take a look at http://jimblackler.net/blog/?p=151, which talks about fetching the calendars on a device. I expect you will need to do the same version-check and use a different calendar URL as that is old. – Femi May 20 '11 at 06:48