Closed petabyt closed 4 years ago
Okay. Is there also a way to store it in a specific folder for Heb12? I mean, other Android apps have their old folder under Android/data, couldn't Heb12 do the same?
When I added the config file, I didn't think I was going to add downloadable translations. It currently looks like this:
root
Heb12Config
translations
kjv.json
kjv2000.json
It should probably look like this:
root
Heb12
translations
kjv.json
kjv2000.json
configuration.txt
If I were to move it, I would have to write a script to detect a /Heb12 directory, and then somehow rearrange the files.
You should move the config to a standard directory. https://android.stackexchange.com/questions/47924/where-android-apps-store-data
The translations can easily be put under root/heb12. That way users can easily have access to them.
After I make a script to move the translations folder and Heb12config to /heb12, we can review all the changes and make sure it is ready for the next release.
I'm just making a task list to help myself
@MasterOfTheTiger I read on Stack Overflow that a folder in /data/data on the Android device would allow for app data to be put there, and be automatically deleted during uninstall. I though this would be better, but you wouldn't have the freedom to manually modify the app files.
Here is an idea: store the config there. But put the downloaded translations in an Heb12 folder in the user accessible directory.
I personally like to have the config file there, just in case something goes wrong, I can go in and change it. It also gives users the ability to share their config files with others, and make backups.
Old:
New:
Old non-JSON config file layout