Why in the heck would anyone want an app that deletes all their contacts and e-mails?
I hope you realize that when people try to install your app, they're going to get a big fat warning when they install your program, saying that your app will have permissions to delete their contacts. So if you are trying to be malicious, it's not going to work. :) By the way, my response above should give you a hint as to the solution to your question. On Oct 29, 7:40 am, android_freak <saifyzeenw...@gmail.com> wrote: > hi > > I want to delete contact list and and available emails in the device. > how do i do that > > I have tried this for contact deletion but getting exception > > context.getContentResolver().delete > (Contacts.Phones.CONTENT_URI,null,null); > > please suggest -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en