public void init_db() { myDb = new DatabaseHelper(this); { try { myDb.createDataBase(); } catch (IOException ioe) { throw new Error("Unable to create database"); } try { myDb.openDataBase(); } catch (SQLException sqle) { throw sqle; } myDb.getReadableDatabase(); c = myDb.getNotes(); if (c.moveToFirst()) { do {} while (c.moveToNext()); } } }