@@ -0,0 +1,583 @@
+package zero.zd.daily_event_logger.database;%0A%0Aimport android.content.Context;%0Aimport android.database.SQLException;%0Aimport android.database.sqlite.SQLiteDatabase;%0A%0Apublic class EventDbManager %7B%0A%0A    private Context mContext;%0A    private SQLiteDatabase mDatabase;%0A    private EventSQLiteOpenHelper mDbHelper;%0A%0A    public EventDbManager(Context context) %7B%0A        mContext = context;%0A    %7D%0A%0A    public EventDbManager open() throws SQLException %7B%0A        mDbHelper = new EventSQLiteOpenHelper(mContext);%0A        mDatabase = mDbHelper.getWritableDatabase();%0A        return this;%0A    %7D%0A%7D%0A

Add DbManager