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

How do I simulate a long press on the middle of my screen?

SampsonNation

Well-Known Member
Hey everyone,

I have a OnePlus 7T phone. I installed Tasker and AutoInput. I'm trying to create a task that will press and hold a large button in the middle of the screen which will remote start my car. I need to hold the button for about 5-10 seconds before letting go.

I have tried AutoInput Gestures with the same x,y coordinates on both the Start and Stop position to create a simulated long press. I've even tried Autoinput Action with Long Press. None of these things have worked.

I would try a Shell script, but I know nothing about it.

Btw, I'm not rooted and don't plan on doing that to my phone.

How can I achieve what I want to do?
 
Back
Top Bottom