R Richard Peck Member Licensed User Longtime User Nov 27, 2013 #1 Hi, Does anyone know a way of obtaining a directory or file permissions w
Erel B4X founder Staff member Licensed User Longtime User Nov 28, 2013 #2 You can run 'chmod' with Phone.Shell and parse the result. Upvote 0
R Richard Peck Member Licensed User Longtime User Nov 28, 2013 #3 I know, but that's using the shell command. What I'm trying to do is to obtain the existing permissions before changing them. I know I can use the shell command "ls -l' to get them but I trying not to have to parse the results to find the permission. I'm tring to Erel said: You can run 'chmod' with Phone.Shell and parse the result. Click to expand... Upvote 0
I know, but that's using the shell command. What I'm trying to do is to obtain the existing permissions before changing them. I know I can use the shell command "ls -l' to get them but I trying not to have to parse the results to find the permission. I'm tring to Erel said: You can run 'chmod' with Phone.Shell and parse the result. Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Nov 28, 2013 #4 I don't think that there is any other API in Android to get the permissions. Also note that not all external storages support file permissions. Upvote 0
I don't think that there is any other API in Android to get the permissions. Also note that not all external storages support file permissions.