Post your questions and help other users.
Moderator: Martin
-
MURTUMA
- Posts: 697
- Joined: 05 Mar 2013 22:43
Post
by MURTUMA » 30 Aug 2015 16:30
Code: Select all
Error: ch.gridvision.ppam.androidautomagiclib.util.q: Path '[/storage/emulated/0/Download/022f5ff44ac8bdbf02790524638950dc.jpg' must be an absolute path
I have initialized two file lists in the above path. Then I'm trying to move them to external SD with move file action "{files_jpg},{files_png}". However, I get the error above. What is an absolute path for a file and how should I overcome this error?
-
Martin
- Posts: 4468
- Joined: 09 Nov 2012 14:23
Post
by Martin » 31 Aug 2015 18:55
The leftmost bracket is most likely causing the problem. Please try to use {files_jpg,listformat,comma},{files_png,listformat,comma} to build a proper comma separated list.
-
MURTUMA
- Posts: 697
- Joined: 05 Mar 2013 22:43
Post
by MURTUMA » 01 Sep 2015 08:24
Thanks! It works now. Although I had to fix the problem with writing to the external SD first.
Gallery apps and file managers can access it freely with no problems. Would there be something you can do so AM could do that too? I think it's a bit overkill to have an xposed module to fix permissions just for one app.
-
Martin
- Posts: 4468
- Joined: 09 Nov 2012 14:23
Post
by Martin » 03 Sep 2015 19:21
Writing to external SD is on my list but I'm not sure when/how I will add it since I don't yet like the options provided by Google.
You can probably also use SD Fix to change the permissions and allow apps to access the external SD card. Optionally you could also write to the directories allowed by Android (use action Script function logExternalFilesDirs() to list all possible directories, beware that Android will likely delete the directories when Automagic is uninstalled).