You call db.delete( <table name here>, null, null);
If the value of "db" is null, you will get a NullPointerException, just like for any other method invocation on a null object, database or not.
Check to see where you get the value of "db" from, and fix it so that "db" actually is a valid database object.
-- Kostya 10.05.2011 12:24, Capt Spaghetti пишет:
So the basic question remains the same. How do I delete everything in a table without dropping and re-creating the table? Thanks
-- Kostya Vasilyev -- http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

