• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Permissions - Music Play - Play Ringtone

There is a strange behavior of the Play Ringtone action when executed from a Kid. (The file tlaABC6.mp3 is in the Ringtones folder of Internal Memory.)

The following operates correctly directly under Tasker and as a Kid.
App Factory inserted the permission READ_EXTERNAL_STORAGE.

Dev6 (1)
A1: Music Play [ File:Ringtones/tlaABC6.mp3 Start:0 Loop:Off Stream:3 Continue Task Immediately:Off ]
A2: Flash [ Text:Test Long:Off ]

The following operates correctly directly under Tasker but fails as a Kid.
App Factory does not insert the permission READ_EXTERNAL_STORAGE.
When I added the permission READ_EXTERNAL_STORAGE it still failed. (I added the string READ_EXTERNAL_STORAGE to Extra Permissions.)

Dev6 (2)
A1: Play Ringtone [ Type:Notification Sound:tlaABC6 Stream:3 ]
A2: Flash [ Text:Test Long:Off]

The following operates correctly directly under Tasker and as a Kid.
A1 is a "commented out" action that references nothing.
App Factory inserted the permission READ_EXTERNAL_STORAGE.

Dev6 (3)
A1: [X] Music Play [ File:x Start:0 Loop:Off Stream:3 Continue Task Immediately:On ]
A2: Play Ringtone [ Type:Notification Sound:tlaABC6 Stream:3 ]
A3: Flash [ Text:Test Long:Off]

... Thom
 
The following operates correctly directly under Tasker and as a Kid.
App Factory does not insert the permission READ_EXTERNAL_STORAGE.
I added the permission android.permission.READ_EXTERNAL_STORAGE to Extra Permissions.

Dev6 (4)
A1: Play Ringtone [ Type:Notification Sound:tlaABC6 Stream:3 ]
A2: Flash [ Text:Test Long:Off]

... Thom
 
Last edited:
Problem corrected with today's Tasker update (v5.0u7).

The READ_EXTERNAL_STORAGE permission is automatically inserted in Music Play and Play Ringtone.

... Thom
 
Back
Top Bottom