DoujinStars
João Dias
João Dias

patreon


Sneak Peek - New AutoInput Feature!

Edit: Sorry about that! Posted the wrong video! Should be ok now!


Sometimes accessibility services on Android make your device slow. This is an Android issue that AutoInput can't avoid.

However, in the next version, AutoInput will work around this issue by allowing you to enable the service only when needed!

As you can see in the example, the service is enabled to click on stuff and then disabled after clicking is done! :)

I plan on releasing this version next week as a beta, but you can try it here right if you'd like! :)

Enjoy!

Sneak Peek - New AutoInput Feature!

Comments

You can even disable it if you want! :)

João Dias

No problem.. I can just change the priority of it to low again and then it will be the same as before. Thanks!

Robert Burton

Yes, it was, because on Android 8+ apps MUST run in the foreground or else they are killed too often... Shame that the icons stays on again :(

João Dias

So after the update today to Autoinput 2.8.2b the Accessibility icon stays on again. This time though the option in Autoinput to run in Foreground is greyed out (can't select it either way). Was that intended?

Robert Burton

Cool.. Glad you figured it out.. you are a true master wiz! Didn't realize I replied to the wrong thread last time. The Patreon interface is not the greatest. Can't insert a block line either because hitting return posts the comment right away!

Robert Burton

Ok, great. I now know the cause... Just have to figure out how to fix it! :D Thanks again!

João Dias

Well YEAH😊... That works! That even takes Autoinput out of Running Services afterwards as well!

Robert Burton

Just one last test! What if you disable the option to run AutoInput in the foreground? That should not show it, right?

João Dias

Thank you very much :)

João Dias

I'm out of ideas here.. As a last resort, I disabled all profiles in Tasker and rebooted. Ran the task and the notification stays. Hope it's just me but in the end it's really not a big deal. I had Autoinput running all the time before so I had the notification priority set to low so I always had the low priority notification anyways. After the update, it must have reset the notification and that's why I noticed it. I can always change it to low again. I appreciate the work you always put into this but unless you get a bunch of other reports, it's not worth your trouble just for me. Thank you for all that you do.. you are really incredible and I have enjoyed all the work you do for us 👍👍

Robert Burton

Yeah, I don't have it either, so our versions should be pretty similar!! (I have a S9+) Wonder why it's acting differently for you :/

João Dias

No.. Still on 8.1.0. I'm on AT&T so I haven't been offered the update yet 🙁 Probably another couple of months before they get around to it 🙁🙁

Robert Burton

Ok, thanks for all the testing :) Just to confirm, did you already update your Note 9 to Android Pie?

João Dias

Before running the task, yes.. after running the task, no.. only a restart makes it go away. It's not Secure Startup, I disabled that. After restart, looked on Developer Options>Running Services and Autoinput does not show up in there. Toggled Autoinput Accessability on and it still does not show in Running Services. Toggled Autoinput Accessability off. Does not show in Running Services. Ran Task.. Notification stays and Running Services shows Autoinput 1 process 0 services. Hope it helps but really not a big deal. I can change the notification priority to make it not show the icon in the Taskbar.

Robert Burton

But what if you don't use it in Tasker at all and just toggle the service in the Android settings? Does that also make it not go away?

João Dias

Guess we'll have to see if someone else starts reporting this.. I'm not having much luck. Service was off so I turned it on (got notification as expected ) .. Restarted.. Turned it off (no notification) .. Restarted.. No notification at this time. Ran task and notification stays on. Accessibility for Autoinput in settings shows to be off after running task. Turning Accessibility on/off on settings does not make it go away either. Only a restart makes it go away. Sorry 😭😭

Robert Burton

Ok, what about this: turn off service, reboot, turn on service, turn off service. Does that make the notification go away?

João Dias

Unfortunately, no it does not help. Once I run the task, the notification stays until I do a restart. So.. I've restarted about a dozen times so far since trying this. I could always hide the notification or lower the priority of it to get rid of it if need be. Not sure if it has something to do with Secure Startup or not maybe. I do have Secure Startup enabled. I know if I go to Settings and turn on Accessability for Autoinput then it affects Secure Startup.

Robert Burton

Hmm, I tried running that several times in a row and it never kept the notification... Does it help if you reboot your device?

João Dias

Guess I should add that I've been running that task manually to test this.

Robert Burton

Here's a TaskerNet. <a href="https://taskernet.com/shares/?user=AS35m8l1VFKmNF10Yv6Jc%2F9VK2gaXHEgpWmguh6ENYUXTaCvfbeOz4AT0MUyor9yfHXpyGIe&id=Task%3AToggle+Airplane+Mode" rel="nofollow noopener" target="_blank">https://taskernet.com/shares/?user=AS35m8l1VFKmNF10Yv6Jc%2F9VK2gaXHEgpWmguh6ENYUXTaCvfbeOz4AT0MUyor9yfHXpyGIe&id=Task%3AToggle+Airplane+Mode</a>

Robert Burton

Can you please send me a XML file of that so I can try out exactly what you're doing?

João Dias

It appears to be pretty reproducible here.. or with that task at least!

Robert Burton

Thanks! I did get that once before, but I thought I had fixed it! I haven't gotten it again since! Will try to reproduce, thanks!

João Dias

Here is the profile I'm using. Toggle Airplane Mode (88) A1: Airplane Mode Settings A2: Wait [ MS:500 Seconds:0 Minutes:0 Hours:0 Days:0 ] A3: AutoInput UI Query [ Configuration:App Package: com.android.settings Manage Accessibility Service: Enable Before Action Variables: onapm Timeout (Seconds):20 ] A4: Flash [ Text:%onapm Long:On ] A5: AutoInput Action [ Configuration:Type: Text Value: OFF Action : Click Manage Accessibility Service: Unchanged Timeout (Seconds):20 ] If [ %onapm ~ OFF ] A6: AutoInput Action [ Configuration:Type: Text Value: ON Action : Click Manage Accessibility Service: Unchanged Timeout (Seconds):20 ] If [ %onapm ~ ON ] A7: AutoInput Global Action [ Configuration:Action: Home Manage Accessibility Service: Disable After Action Timeout (Seconds):20 ]

Robert Burton

That works.. Thanks! One thing I've noticed on my Galaxy Note 9 though is that the Autoinput service notification stays active after running the task even though I turned off Accessibility. Only way to get rid of the notification is to restart the device. Not sure why the notification is staying.. in settings it does shows Autoinput Accessibility to be off.

Robert Burton

Ok, now I've added it to the Action, Gestures, UI Query and Global Action actions :D Can you please try it here: <a href="https://drive.google.com/file/d/1_MCmNfnK4FpFB7HFOgkQxNKbtbmbb8Rs/view?usp=sharing" rel="nofollow noopener" target="_blank">https://drive.google.com/file/d/1_MCmNfnK4FpFB7HFOgkQxNKbtbmbb8Rs/view?usp=sharing</a>

João Dias

Sorry for the delay in responding. Yeah, sorry about that :) Have to add the option under UI Query as well!!

João Dias

One small problem. Under the AutoInput>UI Query action, the Accessibility settings do not show up under the Advanced menu. I have a profile to toggle Airplane Mode using Autoinput but that profile won't run now unless I grant Accessability under Android settings.

Robert Burton

Worked great. I had accessibility turned on all the time for Autoinput and still don't know why. Turned it off and installed the update. Modified your Google Assistant sample and it said I had to give Write Secure Settings to Autoinput which I did. Modified the sample and ran it which worked great! Thanks!

Robert Burton

Thanks for the update, this will definitely come in handy. I may have to amend some of my tasks now!

Ezki

Awesome

Mat


More Creators