I am extending the SQLiteOpenHelper
class. My constructor is
public MyDatabaseHelper(Context context) {
super(
context, // ???
"MyDatabase.db", // Database name
null, // Cursor factory
1 // database version
);
}
What does the SQLiteOpenHelper constructor do with the context information?
For my application, the constructor will behave the same regardless of the program state (context). Can I pass null in for the context with out any future problems?