vendredi 1 avril 2016

Where to place an existing database in android studio project

I want to use an existing sqlite database in an Android - Android Studio based projects. I've done a search on Google an some suggests placing it in the 'Assets' folder. However in the project structure there is no such folder. The folder structure in the project is as follows

-res
--drawable
--layout
--menu
--mipmap
--values

Should I just add the 'Assets' folder or should I place my sqlite db file in a different location.
Disclaimer: I'm new to Android Studio and android development

Aucun commentaire:

Enregistrer un commentaire