TouchTask examples?

Endercraft

Moderator (& bug finder :D)
That's the thing, you can't. Android won't let you access the screen without user allowing every time.
 

Shajirr

New member
That's the thing, you can't. Android won't let you access the screen without user allowing every time.
That's false. Another app I tested, Automate, does not display same message to take a screenshot.

I'll keep the above solution in mind, but most likely won't need it if I drop TouchTask and use Automate instead.
 

Endercraft

Moderator (& bug finder :D)
That's false. Another app I tested, Automate, does not display same message to take a screenshot.

I'll keep the above solution in mind, but most likely won't need it if I drop TouchTask and use Automate instead.
Well it depends on how you access the screen. I think using home assistant permission allows it.
 

Shajirr

New member
Well it depends on how you access the screen. I think using home assistant permission allows it.
no, don't see such permission listed as required to run the flow in Automate.

The permission required is "access screen content and observe your actions", which opens "Accessibility" section, under which both TouchTask and Automate are granted the permission.
 

sampleuserhere

Active member
TouchTask likely uses media projection API to take the screenshot, seeing that it has option to record the screen as well under the same action. Using this one will prompt the user.


Automate seems to Accessibility Service instead.
 

samudec

New member
Hmm I tried the macro you supplied but they variables only got cleared and not set.
I wonder if the issue has something to do with it being a Huawei phone since there was info regarding problems with that.
I will read abit more on that area.
Thank you for the quick response also!
hi, i had a similar issue (but on OnePlus 9 and no matter what i tried, touchtask didn't return anything) so i tried making a folder for the app and hive it access to it and it fixed the issue
 

samudec

New member
hi, i had a similar issue (but on OnePlus 9 and no matter what i tried, touchtask didn't return anything) so i tried making a folder for the app and hive it access to it and it fixed the issue
To add to this, my test worked yesterday, but now it won't work unless I set the touchtask command to blocking, which makes it difficult to automatically dismiss the cast perm popup
 

samudec

New member
To add to this, my test worked yesterday, but now it won't work unless I set the touchtask command to blocking, which makes it difficult to automatically dismiss the cast perm popup
rectification, it's just that if you do test macro while it's disabled, the touchtask thing doesn't work
 

spongeboy

New member
I tried using TouchTask Screen Capture action, and it doesn't work - any time the action is activated, I get a message dialogue covering half a screen with "Start recording or casting with TouchTask?" with options "Cancel" and "Start now"
This happens every single time, and doesn't matter what I choose.
No variables that I assigned for path, color code and color name get anything written into them.

Phone is Samsung Galaxy S10e

Any ideas if its possible to fix this?
You have to use a computer and adb to enable media projection by default. This worked for me
Code:
adb shell appops set com.balda.touchtask PROJECT_MEDIA allow
 

Ouitoo

New member
Spongeboy is correct. It seems others in the thread either don't see the two responses suggesting this ADB command, or don't wish to use it. Not sure why?

Also, there is an app called App Opps. It is wonderful. Allows setting of any permission without ADB commands. However, does require Shizuku but that's easy to have.
 
Top