I'm learning sqlite and I learned how to do crud, having doubts if when I finish doing the apk and put it on the phone it will create the bank file alone and it will create and search or I have to manually create the file ?
I'm learning sqlite and I learned how to do crud, having doubts if when I finish doing the apk and put it on the phone it will create the bank file alone and it will create and search or I have to manually create the file ?
Obviously your application has to be able to create and manipulate the database by itself, is not it? Have you ever wondered if your user had to go out building a bank?
For example, the following method opens or creates a database if it does not already exist and should be somewhere in your application:
SQLiteDatabase meuBanco = this.openOrCreateDatabase("nomeDoBanco", MODE_PRIVATE, null);