How to capture sounds in Android Studio?

Asked

Viewed 78 times

0

All right??

I wonder if it has any function in Android Studio to capture the sounds of the environment by the microphone of the phone. I am trying to implement a voice command function without having to click any button.

  • hi, welcome, what have you tried to do? there are thousands of examples on the internet about it, import and use the package android.media.AudioRecord; this function allows recording ...

  • So, in my app I am using Speech to text to recognize commands by voice, but it is necessary to keep clicking on a Button every time, because of that I wanted a function that is able to capture the audio and recognize when a command is spoken.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.