I have spent a lot of time looking for a way to move folders from ASD to Private dir, but until now I haven't found it yet. I can only create a folder and move the files one by one to the newly created folder, I don't like that way. is there any extension or something that can help me
That's what 'Move folder' does.
I know, but what about the folder tree? It is not easy right, to move files that are in folders in folders.....
Try this one:
Double click the first button to create 2 text files in the /myFolder/ and /myFolder/Subfolder1/ folders in the ASD. Then click on copyToDocuments to copy all folders/files to /Documents into the appropriate folders. The folders/files are then removed in the ASD (i.e. the folders/files were moved to the /Documents directory.
this is what I'm looking for
@Anke I've tried it and it's amazing. I see the process is all good, including deleting myFolder in ASD, but it seems like deleting myFolder in Documents doesn't work, I think it might require permission
I'm really impressed with the "DeleteFolder" in that App. because "RemoveDirectory" in the component (File) in ai2 cannot delete folders that contain folders, it can only delete a folder that contain files only. And I've never found an extension that can do that so far, only the extension in your app can do it, wow
Android version? APK or Companion?
On Android 11+ you do not need any storage permissions if the files are created by the app itself. If you first test with Companion, you cannot delete/overwrite files with the APK, because this is another app. You must delete these files/folders beforehand.
On Android < 11 you must request WRITE_EXTERNAL_STORAGE
permission also for the Shared folders (like /Documents or /Download).
14
APK
Ok, did you test it before with Companion?
I never test my app with companion.
Ok, remove all folders/subfolders from /Documents manually on your test device. Uninstall and reinstall the app and try again. It should work to delete the folder /Documents/myFolder incl. all subfolders & files.
Tested on Android 14 and 15 with the APK.
oke let me try
oh ya, its works, mymistake
So how can I get the extension?
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.