summaryrefslogtreecommitdiffstats
path: root/pico
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2011-06-27 16:46:43 +0100
committerNarayan Kamath <narayan@google.com>2011-06-27 16:46:43 +0100
commit7c362b6760e34583ed550c60e94e0a8e10c4776a (patch)
tree6347b0d1ffa48899de55eb1c1ed82a70589e96ee /pico
parent8b96d41f190527187d2ab1cd33f9d0fe02c08386 (diff)
downloadexternal_svox-7c362b6760e34583ed550c60e94e0a8e10c4776a.zip
external_svox-7c362b6760e34583ed550c60e94e0a8e10c4776a.tar.gz
external_svox-7c362b6760e34583ed550c60e94e0a8e10c4776a.tar.bz2
Use the new settings API for pico.
Change-Id: I852d0619d0f5bcb7218d3ab266ae86d117bc95e7
Diffstat (limited to 'pico')
-rwxr-xr-xpico/AndroidManifest.xml1
-rw-r--r--pico/res/xml/tts_engine.xml17
2 files changed, 18 insertions, 0 deletions
diff --git a/pico/AndroidManifest.xml b/pico/AndroidManifest.xml
index 7473233..54a7924 100755
--- a/pico/AndroidManifest.xml
+++ b/pico/AndroidManifest.xml
@@ -25,6 +25,7 @@
<action android:name="android.intent.action.TTS_SERVICE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
+ <meta-data android:name="android.speech.tts" android:resource="@xml/tts_engine" />
</service>
<activity android:name=".DownloadVoiceData" android:label="@string/app_name"
diff --git a/pico/res/xml/tts_engine.xml b/pico/res/xml/tts_engine.xml
new file mode 100644
index 0000000..17e0c80
--- /dev/null
+++ b/pico/res/xml/tts_engine.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<tts-engine xmlns:android="http://schemas.android.com/apk/res/android"
+ android:settingsActivity="com.svox.pico.EngineSettings" />