Android has openOrCreateDatabase
s in two different classes: SQLiteDatabase and Context. May I ask what are the differences between them?
Meanwhile, I am using a singleton class for maintaining my database. If I want to use that one database across many activities, which version of openOrCreateDatabase
will be more suitable?