In an Android
application, I need to save a JSON file in public external storage where the file won't be removed if the application is uninstalled
Public external storage allows just some special folders to save data and those folders are as following:
DIRECTORY_ALARMS
DIRECTORY_DCIM
DIRECTORY_DOCUMENTS
DIRECTORY_DOWNLOADS
DIRECTORY_MOVIES
DIRECTORY_MUSIC
DIRECTORY_NOTIFICATIONS
DIRECTORY_PICTURES
DIRECTORY_PODCASTS
DIRECTORY_RINGTONES
All folders have their own special types of files but no general folder has been considered for other unknown types of files
I don't know where(in which folder) to put a JSON file, any suggestion?
BTW, DIRECTORY_DOCUMENTS
has been added in API 19 and I need API level lower than 19