Open panv-00 opened 2 years ago
aliasname=su -c "input keyevent 187"
I think i need to install something. I get error response :
su: inaccessible or not found
is it related to phone being rooted?
yeah it relates to phone being rooted. if phone not rooted you cant run su/sudo
So, there is no other way? because on adb, I can run it without root
I'm pretty sure there are app switcher apps on the play store. I imagine you could install one of them & run it like any other app & switch between running apps without needing root.
So, there is no other way? because on adb, I can run it without root
You can use T-UI with Tasker.
Use an alias that just writes data to a file (e.g. apps=echo -n asdf > filename
), then setup a Tasker trigger to run a task with the action you want (i.e. App->Show Recents) when this file is modified (i.e. Event->File->File Modified).
I have a lot of these kind of triggers, where the contents of a file is the action you want to perform. With Alexa integration you can even control smart home devices though T-UI, very handy to use a simple text command from your home screen to put the heater and kettle on while you're watching TV. ;-)
Great tip ZKK!
Can never underestimate the power of echo! I too, use alias hacks to automate additional functions --those who can't do, code solution that CAN lol
Please, is there a way to write an Alias to a command to activate App Switcher (show all open apps).
This can be activated with adb if I run:
$ adb shell input keyevent 187