w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
where to place/push my .sql file (sqlite) to my android device?

If you have an .sqlite (not .sql), you should take out the extension of the file and then paste it in the assets folder of your project.

Try this question. It goes with all the specifics of how to read an already built database in your app.

But in summary, you have to create your own class (DataBaseHelper) that extends SQLiteOpenHelper to read or create the database.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.