Android\'s SpeechRecognizer apparently doesn\'t allow to record the input on which you\'re doing speech recognition into an audio file. That is, either you record voice usin
Google Keep launches RecognizerIntent
with certain undocumented extras and expects the resulting intent to contain the URI of the recorded audio. If RecognizerIntent
is serviced by Google Voice Search then it all works out and Keep gets the audio.
See record/save audio from voice recognition intent for more information and a code sample that calls the recognizer in the same way as Keep (probably) does.
Note that this behavior is not part of Android. It's simply the current undocumented way of how two closed-source Google apps communicate with each other.