+ 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 Respostas
+ 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
Quente hoje
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes