Open
Description
I have a project with multiple activities each using fragments. I initialize Androrm from an Activity early in my application flow, and everything seems fine when working with the app from the start.
However I get the following error sometimes if the tablet has been idle for some time and is resumed: "java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase"
This comes from an Activity later in the flow (not the activity that initialized Androrm), but of course the tablet resumes to the last Activity it knows about. I read somewhere what in Android 4.x or later SQL connections are automatically closed now. Are there any suggestions to resolve this crash?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels