Activity Life Cycle and database
问题 I have an application that reads values from a Database table (Database is named SoftCopyDatabase) and populates a List with the values read from Database. On clicking an item from the list a New Activity Starts. The problem is when I press the back key I got an error IllegalStateException: database already closed My code is as follows: public class OpenClick extends ListActivity { public static String subjectName; private SoftCopyDatabase lectures; private static int[] subTO = { R.id.subject