How to put keyword speech recognition in background from UI?
I currently am using pocketsphinx-android
for a keyword speech recognition app, however, I’m dropping UI frames and the UI is acting inconsistently. I’m pretty sure I have to put the speech recognition in the background. I’ve done some research and I’m thinking that using WorkManager might be my best option, although, a novice programmer, I’m unsure of how to structure things. I’m also open to better suggestions than WorkManager.