Android 4.4 filesystem permissions
Moderator: Martin
Android 4.4 filesystem permissions
As Martin mentioned in his post, filesystem access for apps is restricted in Android 4.4. However, there seems to be an app-specific directory where write access is possible (http://www.androidpolice.com/2014/02/17 ... ting-them/). I was wondering which location this might be for Automagic? So far, using Automagic Premium with the action "Gleeo Filesystem Export" to /storage/extSdCard/Android/data/ch.gridvision.ppam.androidautomagic (got this from the log) still causes the permission error. Does anyone know which directory would work?
Re: Android 4.4 filesystem permissions
Good question, unfortunately I don't have a 4.4 device with an external SD card.
Does /storage/extSdCard/Android/data/ch.gridvision.ppam.androidautomagic/files/xyz.txt work?
I will add new scripting functions to print the list of directories in the log in the next EAP version.
The functions are called logExternalFilesDirs and logExternalCachesDirs so you can execute an action Script and see what's printed in the Automagic log:
logExternalFilesDirs();
respectively:
logExternalCachesDirs();
Does /storage/extSdCard/Android/data/ch.gridvision.ppam.androidautomagic/files/xyz.txt work?
I will add new scripting functions to print the list of directories in the log in the next EAP version.
The functions are called logExternalFilesDirs and logExternalCachesDirs so you can execute an action Script and see what's printed in the Automagic log:
logExternalFilesDirs();
respectively:
logExternalCachesDirs();
Re: Android 4.4 filesystem permissions
Thank you for your answer. Unfortunately, this still produces the error. Could it be that the backup process is done by the Gleeo Time Tracker? If so, do you know any package name for that app (I suspect some kind of affiliation with that app since Automagic can trigger backups for it)?
Re: Android 4.4 filesystem permissions
Automagic can directly access the data of Gleeo Time Tracker since both apps use the same certificate (same company) so the package name of GTT should not matter when you create the backup from within Automagic.