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

Changing Google’s Activity Controls with Tasker / Secure Settings?

If you are rooted, a brute force approach is to have Tasker launch the Google settings app, then simulate screen taps at appropriate locations, with appropriate wait actions between. it requires the screen on though. Let me know of you want more details....There are some links that explain it well. Very easy when you the hang of it.

There may be more elegant ways...
 
Yes, I would love more details on this method. Thanks. x

And if anybody has any other ideas I'd be interested in those too. :)
Here is a link that explains it:
http://www.pocketables.com/2013/07/how-to-emulate-touch-input-using-tasker-and-root.html
One thing that occurs to me is if I use a screen tap option then wont it simply toggle the services on/off every time the event triggers the task? For instance, if I set up a screen tap method every time the phone is unlocked then every other time wouldn't it toggle the services on and ever other time toggle them off? I'm hoping to find a way to ensure that they are always turned on if they have already been turned off for some reason. Maybe I'm just misunderstanding how the screen tap options works?
You're right. The control seems to be a checkmark - that won't work unless you have a way of figuring out the status of the setting. (If they used a "switch", I think it would have worked, but not for a checkmark. )
 
Autoinput works great for emulating touches and has a method to query screen for text. Any differences on the screen when on or off could be queried to determine staus.
Here is a link that explains it:
http://www.pocketables.com/2013/07/how-to-emulate-touch-input-using-tasker-and-root.html

You're right. The control seems to be a checkmark - that won't work unless you have a way of figuring out the status of the setting. (If they used a "switch", I think it would have worked, but not for a checkmark. )
 
Back
Top Bottom