I am implementing a Database for my (beginner/Android) application.
It is not clear to me if the
SQLiteOpenHelper
is meant to create the Database (physically, writing the .db/.sql file) with
super()
or if it still up to me to create such file, and this Class is there just to manage opening,closing,updating the Database.
In case it is like this, there’s no other way to have a class that manage DBs automatically, e.g. just passing name of the file (apart from doing it myself ^_^ )
Thank you
SQLiteOpenHelperwill create the database file before callingonCreate()of yourSQLiteOpenHelpersubclass.