I followed this tuto: https://jbinformatique.com/2018/02/16/android-speech-to-text-api-google-tutoriel/
It works nice ! It uses android.speech.RecognizerIntent package it's free and it works without Internet as mentionned here:
Difference between Android Speech to Text API (Recognizer Intent) and Google Cloud Speech API?
However when I start the speech recognition, I get the following notification :
If I translate (as I can..), it says : "Your audio records will be sent to Google and used for speech recognition. Transcription will be shared with this application. File recorded on "....@gmail.com"
I thought that speech recognition was processed in local....Moreover it works without internet... so is this notification true ? Or must I add something in code to be sure that no data are sent to Google ?