1

.DatabaseObjectNotClosedException

view story
linux-howto

http://stackoverflow.com – My logcat shows the above error. Yet in all methods in the Databasehelper class, i call close() method for the db object. Here is some code from db helper class. public MyDatabaseAdapter(Context context,String databaseName){ super(context,databaseName,null,1); this.mycontext=context; try{ Log.v("Path",DB_PATH); DB_NAME=databaseName; Log.v("name",DB_NAME); openDataBase(); }catch(Exception e) { Log.e("gezaaako",e.toString()); } } public SQLiteDatabase openDataBase() (HowTos)