On Mon, Aug 2, 2010 at 7:05 AM, Bin Dou <doubin...@gmail.com> wrote: > ContentResolver resolver = this.getContentResolver(); > resolver.delete(RawContacts.CONTENT_URI, null, null); > > I can delete the contacts in the phone, but i can not delete the data in the > databases.
So? Those are not your databases. Particularly with contacts, I would imagine there is more to the problem (e.g., sync management). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 2.9 Available! -- 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