My application give me this warning
A SQLiteConnection object for database \'+data+data+com_example_test+database\' was leaked! Please fix your ap
//Inside your SQLite helper class
@Override
public synchronized void close () {
if (db != null) {
db.close();
super.close();
}
}
//Inside the activity that makes a connection to the helper class
@Override
protected void onDestroy () {
super.onDestroy();
//call close() of the helper class
dbHelper.close();
}