Cursor cursor = null;
try {
cursor = mDatabase.query(AppTable.TABLE_NAME, AppTable.RESULT, AppTable.KEY_ID + “<?”,
new String[] { “1000” }, null, null, null);/
cursor = mDatabase.query(AppTable.TABLE_NAME, AppTable.RESULT, null, null, null, null, null);
if (cursor != null) {
// Dead here, catch exception failure
mCount = cursor.getCount();
}
} catch (Exception e) {
LogUtil.error(TAG, “”, e);
mCount = 0;
} finally {
if (cursor != null && !cursor.isClosed()) {
cursor.close();
}
}
Hello @Forest
We have replied to you directly via our support system to discuss this further. Thanks!