I have a pre-populated database file with over 100 tables. I usually use SQLiteDatabase to read and write from the db file but currently, I was checking on how to use SQLite to include using reactive queries etc...
the problem is that all the tutorials on that subject include a database that is created in code and I can't find a simple tutorial for my need
is there a simple tutorial/library/guide
on how to use such libraries like SQLite and room to read/write from a pre-populated database without having to create the database tables as classes inside my code?
also as the title says, is there a way to cast an SQLiteDatabase
to SupportSQLiteOpenHelper
to use in SQLite.
i have a class name is Databaseasset you can put your database in asset folder and then use this class and model to insert update or ... tables here my database asset
here my action class
hope this help your or some one