views:

73

answers:

0

Hi, I have the same problem as in http://stackoverflow.com/questions/2280345/sqlite-database-leak-found-exception-in-android - I get "SQLiteDatabase created and never closed" although I close all my databases and cursors.

But I am new to java, can someone please help me implement the solution in my context? since I am not using my own provider can anyone please explain what do I need to do?

This is a sample from my code that i think is the problematic one:

cursor = context.getContentResolver().query( android.provider.CallLog.Calls.CONTENT_URI, null, whereClause, null, android.provider.CallLog.Calls.DATE + " ASC");

Thanks in advance, Ohad