Can't use TYPE_WINDOWS_CHANGED event in Android Accessibility

i search for an accessibility event called when the android app window changes. I found one question on the stack above the thread related to what I am looking for.

Ref: Accessibility Service TYPE_WINDOWS_CHANGED

By researching these comments, I get that this can only be done in api level 21 or higher. but i need to use it in a lower version, also like api level 14. How can i use TYPE_WINDOWS_CHANGED in api level 14 too. if TYPE_WINDOWS_CHANGED cannot be used at api level 14 then what event can I use when opening a new activity or window. Thank.

+3


source to share


1 answer


I don't know about TYPE_WINDOW_CHANGED. As per your second question, you can use the following event type to open a new action or window.

TYPE_WINDOW_STATE_CHANGED



the specified event will be triggered when a new action or window is opened,

+4


source







All Articles