Answer the question
In order to leave comments, you need to log in
android how to load existing sqlite db?
What is the correct way to load an existing SQLite DB file?
tried this:
this.sqLiteDatabase = SQLiteDatabase.openDatabase(activity.getPackageResourcePath() + "/raw/foo.db", null, 1);
and tried to load via uri from assets, the outcome is the same - the file was not found, tell me how to do it right
Answer the question
In order to leave comments, you need to log in
you have a fundamentally wrong approach.
How to connect your database to an Android application?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question