8

Am I asking for issues with this returned cursor?

view full story
linux-howto

http://stackoverflow.com – Basically I have a method that populates a listview from my database. I am receiving both null pointers on a cursor and 'unable to stop activity' errors. This is how I am returning my cursor: public Cursor getAppointmentsData() { String[] columns = new String[] { KEY_ROWAPPID, KEY_NAMEAPP, KEY_TYPEAPP, KEY_TIMEAPP, KEY_DATEAPP, KEY_COMMENTAPP }; Cursor c = ourDatabase.query(DATABASE_TABLEAPP, columns, null, null, null, null, KEY_NAMEAPP + " ASC", null); if (c != null) { if (c.getCount() > 0 && c.moveToFirst()) { c. (HowTos)