How can I delete data from table data which  is in the database named
contacts2.db

  something wrong with my code.

Here is:

        String
path="/data/data/com.android.providers.contacts/databases/contacts2.db";
        SQLiteDatabase database=SQLiteDatabase.openDatabase(path,
null,OPEN_READWRITE);
        database.delete("data", null, null);

-- 
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

Reply via email to