On Mon, Aug 2, 2010 at 7:25 AM, Bin Dou <doubin...@gmail.com> wrote: > String > path="/data/data/com.android.providers.contacts/databases/contacts2.db"; > SQLiteDatabase database=SQLiteDatabase.openDatabase(path, > null,OPEN_READWRITE); > database.delete("data", null, null); > > Can i use this method?
No. I have said this repeatedly in this thread. Let me try shouting: THIS IS NOT YOUR DATABASE. YOU CANNOT MODIFY IT. PLEASE LEAVE IT ALONE. -- 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