I’m trying to use my own database in an Android application. Most all the topics and tutorials on this topic suggest that you can create it and open it using SQLiteOpenHelper, which by default use data/data/com.my.application/databases folder. I’ve seen the recommendation to copy the file from context.getAssets.open(dbname) to the default sqlite path. If this is in fact the solution, what is the right path to pass my database.db file?
I’m trying to use my own database in an Android application. Most all the
Share
my friend you can try this one code