1

Using cursor created by helping class to fill ListView

view story
linux-howto

http://stackoverflow.com – I do have a question regarding to this code fragment. I am having a SQLiteDatabase which is connected through a "Manager" class. I am calling the following function: try { String[] selectionArgs = { String.valueOf(_id) }; SQLiteDatabase dbReadable = Db.getReadableDatabase(); Cursor cursor = dbReadable.rawQuery(sqlQuery, selectionArgs); return cursor; } catch (SQLiteException e) { Log.e(tag, "SQLiteException: /n " + sqlQuery); } return null; The sqlQuery is a valid SQL query as it does not throw an SQLiteException(). So what I wa (HowTos)