Mike LeBeau | 6774fcf | 2010-02-11 22:58:29 -0800 | [diff] [blame] | 1 | <p>A sample application that demonstrates Android's pluggable voice recognition framework.</p> |
| 2 | |
Mike LeBeau | 3d2e485 | 2010-02-12 14:30:00 -0800 | [diff] [blame] | 3 | <p>This application includes a |
| 4 | <a href="src/com/example/android/voicerecognitionservice/VoiceRecognitionService.html"> |
| 5 | sample voice recognition service</a> (a subclass of |
| 6 | <code><a href="../../../reference/android/speech/RecognitionService.html">RecognitionService</a></code>), |
| 7 | and a <a href="src/com/example/android/voicerecognitionservice/VoiceRecognitionSettings.html"> |
| 8 | settings activity</a> for that service. It shows the basic skeleton for setting up a recognition |
| 9 | service and exposing its settings activity to settings.</p> |
Mike LeBeau | 6774fcf | 2010-02-11 22:58:29 -0800 | [diff] [blame] | 10 | |
| 11 | <p>The behavior is extremely simple - it does no real voice recognition, and just returns a |
| 12 | fixed set of results immediately. The results can be either a set of letters or numbers, as |
| 13 | chosen by the user in the simplistic settings activity.</p> |
Mike LeBeau | 3d2e485 | 2010-02-12 14:30:00 -0800 | [diff] [blame] | 14 | |
| 15 | <p>Installing this application onto a device that already has a voice recognition service |
| 16 | available will expose a new option under "voice input & output" settings, to let the |
| 17 | user choose between the multiple services.</p> |
| 18 | |
| 19 | <p>Note that due to its simplicity, this voice recognition service is not compatible with |
| 20 | every application that wishes to use voice recognition. For example, because Google's |
| 21 | VoiceSearch application relies on more than just simple text results, it may not work |
| 22 | as expected if this sample recognition service is chosen in settings. Other simpler |
| 23 | applications, like voice input on the keyboard (e.g., in LatinIME), are more likely to |
| 24 | work as expected - returning just the very simple list of results to the application.</p> |
Mike LeBeau | 6774fcf | 2010-02-11 22:58:29 -0800 | [diff] [blame] | 25 | |
| 26 | <p>See also:</p> |
| 27 | <ul> |
| 28 | <li><a href="../../../reference/android/speech/RecognitionService.html">RecognitionService</a></li> |
| 29 | </ul> |