When the SQLiteOpenHelper onCreate method is called?
问题 This question was migrated from Android Enthusiasts Stack Exchange because it can be answered on Stack Overflow. Migrated 6 years ago . I tried to create an SQLite database and do some stuff with it. But I found that my onCreate method is not even invoked!! I am sending a message to LogCat on the begining of the onCreate method. My assumption is, the (super) constructor will invoke onCreate method. Is that right? My Code: import android.database.sqlite.SQLiteOpenHelper; import android