Android 4.4 filesystem permissions

Post your questions and help other users.

Moderator: Martin

Post Reply
nqadre
Posts: 2
Joined: 13 Mar 2014 10:53

Android 4.4 filesystem permissions

Post by nqadre » 13 Mar 2014 11:06

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?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Android 4.4 filesystem permissions

Post by Martin » 13 Mar 2014 17:31

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();

nqadre
Posts: 2
Joined: 13 Mar 2014 10:53

Re: Android 4.4 filesystem permissions

Post by nqadre » 13 Mar 2014 17:45

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)?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Android 4.4 filesystem permissions

Post by Martin » 14 Mar 2014 09:52

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.

Post Reply