Hi all,
I am new to java, can someone please help with the "Leak found" in my app?
I get "SQLiteDatabase created and never closed" although I close all my databases and cursors.
I think that the problem is the same as in http://androidforums.com/android-de...rinner-unable-close-database.html#post1127124
But I have not created my own provider so can someone please help me implement the solution in my context?
This is the sample from my code that I think is the problematic one:
Ohad
I am new to java, can someone please help with the "Leak found" in my app?
I get "SQLiteDatabase created and never closed" although I close all my databases and cursors.
I think that the problem is the same as in http://androidforums.com/android-de...rinner-unable-close-database.html#post1127124
But I have not created my own provider so can someone please help me implement the solution in my context?
This is the 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, android.provider.CallLog.Calls.CONTENT_URI, null,
whereClause, null,
android.provider.CallLog.Calls.DATE + " ASC");
Ohad