+ 1

How do I enable a button as an accessibility feature?

I developed an Android app using kotlin. In the app, the user presses a button which prompts the user to say something. The user's speech is then taken as input to another function. This initially worked under the class MainActivity but when I changed the app so that it becomes an accessibility service, the button stopped working. Any idea how I can solve this problem? I also set the flags but still the button won't work mIntent.flags = Intent.FLAG_ACTIVITY_NEW_TASK

13th Jul 2021, 2:40 PM
Lydia Yuki
Lydia Yuki - avatar
2 Réponses
+ 2
I would search on google for solution.
13th Jul 2021, 6:41 PM
JaScript
JaScript - avatar
0
I've been searching on google for a long while now. Still can't find the solution
13th Jul 2021, 8:00 PM
Lydia Yuki
Lydia Yuki - avatar