i am making dictionary and i have so much data to load. I want that i create a project which first load the dictionary words in database and the after i use this .db file in my 2nd project which is dictionary project.
But i don’t know how to get the .db file and copy it and paste it into my assets folder.
Well, yopu cant simply copy any files from one private storage, to another. I suppose you can archive this using different ways, for example:
1) Copy your
.dbfile to SD card by first app, and copy it back to private storage by the second app.2) You can use ContentProvider to share private data between 2 different applications without moving it on SD card.
You can’not get direct access to assest or any other data folder of different application. Good luck!