DB problem

SQLiteDatabase db = DB.provider.database(); doesnt work in the
mainActivity