kase
New Member
Posts: 5
|
Post by kase on Dec 23, 2015 1:33:58 GMT
Is there such a way? I can't seem to find a way to do that and it would be nice to have a shortcut that does it neatly. Can AnkuLua implement this feature if it's not already there? It would be very useful.
|
|
|
Post by AnkuLua on Dec 23, 2015 14:02:34 GMT
Is there such a way? I can't seem to find a way to do that and it would be nice to have a shortcut that does it neatly. Can AnkuLua implement this feature if it's not already there? It would be very useful. There is no such feature now. There is one way to do that, but the script may be only used by yourself. You man use keyevent to send Android events. keyevent(4) -- back keyevent(3) -- home keyevent(187) -- app_switch To kill app, you man send app_switch event. Then drag and drop the app that you want to kill.
|
|
ATG
Junior Member
Posts: 79
|
Post by ATG on Aug 14, 2020 8:35:06 GMT
Is there such a way? I can't seem to find a way to do that and it would be nice to have a shortcut that does it neatly. Can AnkuLua implement this feature if it's not already there? It would be very useful. There is no such feature now. There is one way to do that, but the script may be only used by yourself. You man use keyevent to send Android events. keyevent(4) -- back keyevent(3) -- home keyevent(187) -- app_switch To kill app, you man send app_switch event. Then drag and drop the app that you want to kill.
i tried killApp functionality, but i got an message of "Accessibility mode does not support killApp() Is there really no other way to do it? I dont want to turn on root permission.
|
|
|
Post by AnkuLua on Aug 14, 2020 11:55:45 GMT
There is no such feature now. There is one way to do that, but the script may be only used by yourself. You man use keyevent to send Android events. keyevent(4) -- back keyevent(3) -- home keyevent(187) -- app_switch To kill app, you man send app_switch event. Then drag and drop the app that you want to kill.
i tried killApp functionality, but i got an message of "Accessibility mode does not support killApp() Is there really no other way to do it? I dont want to turn on root permission.
You can install daemon and choose daemon in AnkuLua settings. ankulua.boards.net/thread/3/daemon-installation
|
|
ATG
Junior Member
Posts: 79
|
Post by ATG on Aug 14, 2020 22:12:43 GMT
I tried it before when I first registered to this forum, but it didn't work for LDplayer v4.0.25
do you have users reported that it is working for them?
|
|
|
Post by AnkuLua on Aug 14, 2020 23:48:24 GMT
Yes. Daemon works for LDPlayer.
Accessibility mode doesn't support killApp(). You could use following script to kill the running App keyevent(187) -- app_switch wait(1) swipe(Location(x1, y1), Location(x2, y2)) -- select the correct direction for your device
|
|
ATG
Junior Member
Posts: 79
|
Post by ATG on Aug 15, 2020 10:37:11 GMT
Yes. Daemon works for LDPlayer. Accessibility mode doesn't support killApp(). You could use following script to kill the running App keyevent(187) -- app_switch wait(1) swipe(Location(x1, y1), Location(x2, y2)) -- select the correct direction for your device yes the code above is working when take as alternative.
you quoted to Gigofar "Sorry. It's not compatible with LD player."
it is kinda contradict what you said here - "Yes. Daemon works for LDPlayer."
also, what is the reason not to provide a clickable link for us to check the image? its just making hard for us, if type the link manual when it is long. I have to use third party OCR to get the text.
|
|
|
Post by AnkuLua on Aug 15, 2020 14:07:29 GMT
|
|
ATG
Junior Member
Posts: 79
|
Post by ATG on Aug 16, 2020 1:16:50 GMT
ok.
i tried follow the steps and i am unable to install daemon.
would you able to update your guide to include LDplayer?
as for now i will use your coding:
keyevent(187) -- app_switch wait(1) swipe(Location(x1, y1), Location(x2, y2)) -- select the correct direction for your device
|
|