Relative Content

Tag Archive for androidjsonkotlinconfig

Android: where to store json file to be accessible to both app and user?

I’d like to use a small local JSON config file with a few fields, so my app can read it and know what to do. This file will not be shipped as part of my app. The idea is that the user creates the file with the desired parameters, and transfer that file to a specific location on the device for my app to fetch it on startup. What would be the best/proper way to store the file so it is accessible for both the app and the final user? There is any path that is usually used for this?