Home | History | Annotate | Download | only in TtsEngine
      1 <p>This sample demonstrates how to create a text to speech engine
      2 that users can install on their devices.</p>
      3 
      4 <p>The application includes a service and two activities:</p>
      5 <ul>
      6   <li><a
      7     href="src/com/example/android/ttsengine/RobotSpeakTtsService.html"><code>RobotSpeakTtsService</code></a>,
      8     a simple text to speech engine that converts sentences into audio by
      9     generating a square wave of a given frequency for each alphabet of a
     10     given language. Though this doesn't qualify as speech (except for robots)
     11     it exercises all aspects of the new text to speech API
     12     by subclassing the
     13     <a href="../../../reference/android/speech/tts/TextToSpeechService.html"><code>TextToSpeechService</code></a>
     14     framework class.
     15   </li>
     16   <li><a
     17     href="src/com/example/android/ttsengine/CheckVoiceData.html"><code>CheckVoiceData</code></a>,
     18   an activity that checks that all voice related data is installed and
     19   available.</li>
     20   <li><a
     21     href="src/com/example/android/ttsengine/RobotSpeakSettings.html"><code>RobotSpeakSettings</code></a>,
     22     a settings screen for users to set various engine parameters. This is
     23     usually accessed by users from the system wide settings app. This must be
     24     declared in the <code>AndroidManifest.xml</code> file as a
     25     <code>meta-data</code> element.</li>
     26 
     27 <!-- TODO: Fix this when the API level for ICS is finalized -->
     28 <p>Note that this API is supported only on Android 4.0 (API level 13)
     29 and higher versions of the platform.</p>
     30 
     31