I am having Registration screen as my first screen but before that i want to create database. is it possible to create database at time of installation in android rather than creating in first activity.
SQLiteOpenHelper class provides the functionality to use the SQLite database.
Android App Development for Beginners SQLite is a opensource SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation.
This is a great article that helps http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/
This way you don't have to parse csv files or dynamically create the db on the device, saving time during first load.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With