I do not understand a bit the moment in creating a database, help.
Suppose we have a DBHelper class inherited from SQLiteOpenHelper . When the database is being launched through the DBHelper(Context context) constructor, and the call to it is super(context, "myDatabase", null, 1) , what happens when there is no database? As I understand it, the onCreate method is onCreate , and in it the execSQL command (it indicates the created table with columns), but this command already indicates the table in the database. This means that the database was created earlier, but when and how? Explain, please.
My guess is: it was created when I called the super constructor, with the name and version number passed to it in the arguments, but I’m not sure about that, because I haven’t heard about it anywhere.