lundi 29 juin 2015

what is the need of Context in a class default constructor when extends SQLiteOpenHelper??

What is the need of Context in this class.Is there any backgroud work/process it does to identify the application?

class MyDatabaseHandler extends SQLiteOpenHelper{
         public MyDatabaseHandler(Context context) {
            super(context, DATABASE_NAME, null, DATABASE_VERSION);
        }
    }

Aucun commentaire:

Enregistrer un commentaire