7

Android SQlite column numbers mismatched?

view full story
linux-howto

http://stackoverflow.com – I'm trying to read from a SQLite database using the following code: public List<DBEntry> getAllDBEntrys() { List<DBEntry> DBEntrys = new ArrayList<DBEntry>(); Cursor cursor = database.query(DatabaseClass.TABLE_APPTS, allColumns, null, null, null, null, null); cursor.moveToFirst(); while (!cursor.isAfterLast()) { DBEntry DBEntry = cursorToDBEntry(cursor); DBEntrys.add(DBEntry); cursor.moveToNext(); } // Make sure to close the cursor cursor.close(); return DBEntrys; } private DBEntry cursorToDBEntry(Cursor cu (HowTos)