Get databases directory for my app programmatically

前端 未结 5 1549
孤城傲影
孤城傲影 2020-12-10 12:20

I want to use a \"pre loaded\" database in my app. There are tons of questions about this and most point to this blog article here or similars.

So far so good. I jus

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-10 13:04

    You can use the Method getFilesDir() or getDatabasePath in an Activity-Class to get this Folder.
    More info here

提交回复
热议问题