copy SQLite Database from Assets folder into Android Internal Storage Database Location
A simple Android Application Template that copies the Database from Assets Folder into Internal Storage Database Location.
- When you dont want to create Database using code
- When you want to use already filled Database
- Delete DB_CATEGORY.sqlite in Assets Folder
- Copy Your Database in Assets Folder
- Replace Your Database name with "DB_CATEGORY.sqlite" in DBHelper class
- Query Your Database from DBQuery class accordingly
- db.getCategories(0) in Activity1 class is developed for current database, change that method according to Your Database
Compatible with Android 2.3 (GINGERBREAD - 9) and above.