I'm currently trying to create an Flashcard application, in which the user can either create his own cards/notes or use pre-defined cards. The idea is to have around 500 to 1000 cards to be inserted on the database right after its creation. But how do I insert this initial data?
The only solution I could come up with is creating each one of the cards inside the "onCreate()" method of my "SQLiteOpenHelper" class, which would lead to repeating 500+ times the insert process:
db.execSQL("INSERT INTO table (column1, column2, columnN) VALUES(...)");
Is it the right thing to do? Would it work, and if so is it a good method or would I have any problems by doing it this way?