No Tasker directory on SD card

297 views
Skip to first unread message

kajmaj87

unread,
Oct 8, 2015, 3:24:59 PM10/8/15
to Tasker
Hi,

I've noticed it is impossible to write anywhere on SD card (I know this restriction was introduced in KitKat) but apps should be able to write to their own directory under Android/data/example.app.package.name

Unfortunately I do not see tasker directory anywhere on my sd (for e.g. DailyRoads has created one and I can save recorded movies there). I would like to save my calls on external sd card, but now it is impossible. I've tried to create tasker package directory named net.dinglisch.android.taskerm and save there but it didn't help - I still get EACCES (Permission Denied) error.

Has anyone had some luck with this?

I'm using unrooted, stock lollipop on galaxy s5.

Rich D

unread,
Oct 8, 2015, 3:52:46 PM10/8/15
to Tasker Google Groups Post


> Hi,
>
> I've noticed it is impossible to write anywhere on SD card (I know this restriction was introduced in KitKat)

You are talking about the external sd card,   correct ?

I have no problems saving files on my external SD card. Here is a sample of a file path that works.

/storage/sdcard1/A Pic Folders/All pics/

I have a rooted Motorola Droid 4 / Stock ROM   / Tasker  /  Version: 4.7u3m / Android version 4.1.2

kajmaj87 .

unread,
Oct 9, 2015, 1:59:32 AM10/9/15
to tas...@googlegroups.com
I'm talking about my external sd card, so the whole path is:

/storage/extSdCard/Android/data/...

I tried to use /storage/extSdCard/Calls folder for this but it gave me the same error. But it was possible to create this folder with Samsungs MyFiles application without a problem.

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/wrzwy2-NrVQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.

Rich D

unread,
Oct 9, 2015, 5:48:36 AM10/9/15
to Tasker Google Groups Post


> I'm talking about my external sd card, so the whole path is:
>
> /storage/extSdCard/Android/data/...

1. Are You are using the action. / file / write file?

2. Are You are writing to a text file and using the .txt extension?

Try using the mag glass in the action to select the file path, then add your file name.

Juergen Gruen

unread,
Oct 9, 2015, 6:32:17 AM10/9/15
to Tasker


Am Donnerstag, 8. Oktober 2015 21:52:46 UTC+2 schrieb Rich D:


I have a rooted Motorola Droid 4 / Stock ROM   / Tasker  /  Version: 4.7u3m / Android version 4.1.2

Just to clarify: 4.1.2 is Jelly Bean, KitKat is 4.4+. As kajmaj87 mentioned, Google changed this behaviour with KitKat...



1. Are You are using the action. / file / write file?

2. Are You are writing to a text file and using the .txt extension?

Try using the mag glass in the action to select the file path, then add your file name.

Does not work with my S5 mini, 4.4.2 Stock Rom.

Juergen.
 

kajmaj87 .

unread,
Oct 9, 2015, 6:53:15 AM10/9/15
to tas...@googlegroups.com
1. I'm using the Record Audio action
2. Record Audio action saves mp3 by default, but file extension has nor role when dealing with write permissions.

As far as I know Tasker should have had created its own directory under /storage/extSdCard/Android/data/net.dinglisch.android.taskerm and have write permissions in it - for me this would be  good enough. Unfortunately thats not the case. Can anyone with external sd card can verify if this directory exists at your sd and if it is possible to write anything with tasker inside?

Thanks

--

Juergen Gruen

unread,
Oct 9, 2015, 7:00:08 AM10/9/15
to Tasker


Am Freitag, 9. Oktober 2015 12:53:15 UTC+2 schrieb kajmaj87:
 Can anyone with external sd card can verify if this directory exists at your sd and if it is possible to write anything with tasker inside?


I do not have this directory either...

Juergen.

kajmaj87 .

unread,
Oct 9, 2015, 7:15:32 AM10/9/15
to tas...@googlegroups.com
So does it mean that tasker without root cannot in any way write to external sd card on android v4.4 or above?

--

Scott Miller

unread,
Oct 9, 2015, 7:19:57 AM10/9/15
to tas...@googlegroups.com

Tasker does not automatically create any directories on the external sd card. Tasker creates it's directories only on the internal sd card.

My only suggestion, since you are on lollipop, and I don't know if this will work, is to create a task in Tasker that creates the directory you want and hope that Android recognizes this and pops up the permission dialog. I think the app needs to be written a certain way to take advantage of this, so I don't have much hope.

Scott

Rich D

unread,
Oct 9, 2015, 8:33:56 AM10/9/15
to Tasker Google Groups Post


>> Just to clarify: 4.1.2 is Jelly Bean, KitKat is 4.4+. As kajmaj87 mentioned, Google changed this behaviour with KitKat...

Sorry I got my sweets confused, I thought KitKat started at 4.0 :(

> 1. I'm using the Record Audio action
> 2. Record Audio action saves mp3 by default, but file extension has nor role when dealing with write permissions.
>
>

Correct,  -- you had not mentioned which action you were using, and trying to use the write file action on non- text files is a common mistake.

Juergen Gruen

unread,
Oct 9, 2015, 9:36:35 AM10/9/15
to Tasker
My phone is rooted, but the Write File Action does not work also...

Juergen Gruen

unread,
Oct 9, 2015, 10:01:12 AM10/9/15
to Tasker
This works for me (root required)

A1 Write File, File: /storage/sdcard0/temp/test.txt Text: Test
A2 Copy File, From: /storage/sdcard0/temp/test.txt To: /storage/extSdcard/temp/test.txt Use Root: On
A3 Delete File, File:  /storage/sdcard0/temp/test.txt Use Root: On


Juergen.
Reply all
Reply to author
Forward
0 new messages