-
Notifications
You must be signed in to change notification settings - Fork 527
Create XPrivacy subdir to hold exported rules and keyfile to avoid cluttering up root of sdcard. #27
Comments
Also consider allowing the user to specify both where to import and export the file. This would allow them to specify their own subdir which for example might be one that auto sync's with dropbox or other fileshare hosts. |
When user is choosing where to save the file please allow them to choose what to name the file as well...this will allow multiple backups and also saving a file for each device since some devices may have apps specific to them even if the user has multiple devices. |
Android does not have a file chooser dialog. |
What about these answers? http://stackoverflow.com/questions/15785506/android-file-choose-dialog-again <-- enhanced version of next one http://code.google.com/p/android-file-dialog/ Android Library: https://github.com/vaal12/AndroidFileBrowser |
I have seen these all, but I don't want a custom file chooser. |
The main one I presented just overrides the onCreateDialog to handle the filepath and options to cancel etc If you don't like their solutions you could always code your own using that. In any case you could still move the pro key AND the backups into a .XPrivacy subfolder which is what the original request was instead of cancelling the whole thing. |
I will check for the license file in both the root folder and the .xprivacy folder. |
Just clarifying under linux filename rules (I'm not sure if android follows them) directories beginning with a period are hidden by default when browsing from a file manager....so if you want it visable just lose the . and use /sdcard/XPrivacy/ |
A hidden folder seems a good solution in this case to me. |
Will be fixed in the next release. |
"Android does not have a file chooser dialog." |
But does each and every device have a file manager? |
Is that the code for oi file manager? It has a freely available api but then xprivacy would have to require oi file manager be installed....not a good idea. I can tell you several factory rom's I had did not have any kind of file manager....because they don't want you sideloading apps. |
I think that people which have xposed & xprivacy installed they have file managers for sure... And, you can still add AlertDialog with text input so user can write path to file |
Since you can now export settings AND you have a pro key file consider creating a XPrivacy subdir off root folder of sd card and keeping everything in there? Eventually you might add other files etc to the folder without cluttering the root of the sd card up. Backups could be modded to just backup the whole dir which would also potentially keep backups of the person's keyfile.
The text was updated successfully, but these errors were encountered: