Android 11 SQLite with Scoped Storage

Viewed 733

It doesn't seem like I can access and load a sqlite file anywhere outside of the apps "files" folder (i.e. Andorid/Data/my.app/files). Am I missing something? It doesn't seem like SQLite can use a Uri to load a database unless that data is copied to a temp location or something. Is there nowhere my app can use the normal file system other than the apps location?

Thanks.

1 Answers

You can write your file for instance in the Documents directory.

Related