|
Post by incendie on Nov 29, 2020 10:14:44 GMT
Some function like zoom() and keyevent() does not work with Accessibility Service. I want to check whether Ankulua is using which one, otherwise the app crashes...
what is the function name that check daemon or accessibility service?
|
|
|
Post by AnkuLua on Nov 29, 2020 13:56:03 GMT
zoom() and keyevent() are supported in accessibility, some with limitation. * Support accessibility mode for touch method for Android versions 7.0 and above. Don't need either root or daemon. - Note: Some emulators (like BlueStacks and Nox) don't support Media Projection for screenshot. Therefore root or daemon is still needed. - Methods supported in Android versions 7.0 and above click(), swipe(), zoom(), longClick(PRML, seconds), doubleClick(), keyevent(3, 4 or 187), continueClick(),continueMultiTouch() - Methods supported in Android versions 8.0 and above dragDrop(), longClick(), manualTouch(), touchDown(), touchMove(), touchUp() - Methods not supported in accessibility mode keyevent(except 3, 4 or 187), killApp()
|
|
|
Post by incendie on Dec 1, 2020 7:09:07 GMT
my phone is xiaomi phone using daemon and 5 minutes of running a script, the app would crash and disappear. No message or error. Just disappear...
and how to turn off keyevent(3,4, 187) if running accessibility service?
|
|
|
Post by AnkuLua on Dec 1, 2020 8:31:36 GMT
|
|
|
Post by incendie on Dec 1, 2020 8:33:02 GMT
i guess its keyevent(4) in my script that is causing the crash. How to disable in the script
|
|
|
Post by AnkuLua on Dec 1, 2020 9:29:35 GMT
Disable keyevent(4)? Just don't use it.
|
|
|
Post by incendie on Dec 1, 2020 9:33:03 GMT
Disable keyevent(4)? Just don't use it. but I want to use it. only if daemon is loaded.
|
|
|
Post by AnkuLua on Dec 1, 2020 9:36:50 GMT
Disable keyevent(4)? Just don't use it. but I want to use it. only if daemon is loaded. It should not cause crash. There is no way to know the script under daemon or accessibility mode. You can provide an option in UI for the users to choose.
|
|