Project to change ringotne exported as APK not working

Discussion in 'General' started by amplatfus, Nov 4, 2018.

  1. amplatfus

    amplatfus New Member

    Joined:
    Mar 12, 2015
    Messages:
    10
    Likes Received:
    0
    Hi all,

    I have a task to change ringtone. I exported this as APK using app factory and set the task to run when opening the installed APK. But when the app is opened, the ringtone is not changing. Could you please help?

    Anyone know how to fix this?
    Thank you!
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    7,040
    Likes Received:
    613
    You probably need to give the kid app permission to change system settings.
     
  3. amplatfus

    amplatfus New Member

    Joined:
    Mar 12, 2015
    Messages:
    10
    Likes Received:
    0
    Thanks. In the App Factory apk there is no system settings option. Also, in APK created by me there is no system option permission even my task require it. Could you please advice where I should allow this? Thank you!
     
  4. amplatfus

    amplatfus New Member

    Joined:
    Mar 12, 2015
    Messages:
    10
    Likes Received:
    0
    I found it: after I manually added WRITE_SETTINGS when creating the app, it worked. But normally this is not meant to be added automatically, because the task action requires it.
    After all, I am happy it worked :) Thank you for support!
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    7,040
    Likes Received:
    613
    Yes, it should! Glad you found it! :)

    Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance
     
    amplatfus likes this.
  6. amplatfus

    amplatfus New Member

    Joined:
    Mar 12, 2015
    Messages:
    10
    Likes Received:
    0
    Of course. Thanks.

    Ring Null (334)
    A1: Default Ringtone [ Type:Ringer Sound:Silent ]
    A2: Default Ringtone [ Type:Notification Sound:Silent ]


    Sent from my ONE A2003 using Tapatalk
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    7,040
    Likes Received:
    613
    Ok, fixed for next version of Tasker! :) THank you!
     
    amplatfus likes this.

Share This Page