Android 2.x does not automatically sound an audible cue when ready for speech input.
Android 4.1 does.
What happens in between these versions? i.e. When was this cool feature introduced?
I need this in order to perform a check against Build.VERSION.SDK_INT
at runtime.
Do you know of any source that documents this?
That "ready for speech" double-beep to which you are referring is not a feature of the Android OS but rather Google App.
This is very close to Kaarel's answer but the distinction between Voice Search and Google App could be confusing.
What's more confusing is the fact that Google App used to be named Google Search but make no mistake: The identical package name turns itself in... com.google.android.googlequicksearchbox
.
I don't know exactly at what point the "no beep Google Search" turned into "cool double-beep Google App", but my limited observation shows that Google Search version 1.3.3 (Android 2.2.1)
had no beeps, while Google App version 4.1.24 (Android 4.1.2)
has those beeps.
As of today (2015-01-22), Version 1.3.3.247963
of Google Search is latest version available on Google Play for Android 2.2.1 devices.
An Android 4.1.2 device, however, can see a higher version in Google Play and download & install it: 4.1.24.1672412.arm
.
Thus, it seems that those beeps are tied to the Android version.
BTW, Google App features what's known as "OK Google". Perhaps that was the reason for introducing those (now famous) beeps.
"OK Google" was first introduced in the Google I/O conference in May 2013, but since it is available for download from Google Play to Android 4.1 devices (which was introduced in July 2012), one cannot assume direct link to the latest release version at that time. There are, in fact, instructions on how to install Google App on Android 4.0 but I doubt that is supported by Google. Thus, to be safe, I would say that if you enabled automatic updates on your smartphone, then the Android version that first introduced "the recognizer beeps" is 4.1.
This might be a feature of Google Voice Search, but Google Voice Search is a regular app and thus external to Android.
onReadyForSpeech
is a callback via which an end-user app (e.g. a keyboard app) can have some code executed by the speech recognizer app (e.g. Google Voice Search). Both of these apps can sound the audible cue but neither is part of the core Android.
Maybe relevant: void startRecording (MediaSyncEvent syncEvent) was added in API level 16.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With