1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 ** Copyright 2010, The Android Open Source Project 5 ** 6 ** Licensed under the Apache License, Version 2.0 (the "License"); 7 ** you may not use this file except in compliance with the License. 8 ** You may obtain a copy of the License at 9 ** 10 ** http://www.apache.org/licenses/LICENSE-2.0 11 ** 12 ** Unless required by applicable law or agreed to in writing, software 13 ** distributed under the License is distributed on an "AS IS" BASIS, 14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 ** See the License for the specific language governing permissions and 16 ** limitations under the License. 17 */ 18 --> 19 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 20 package="com.example.android.voicerecognitionservice"> 21 22 <uses-sdk android:minSdkVersion="8" /> 23 24 <application> 25 26 <!-- The service that implements voice recognition. Note that a label 27 for the service is important to provide, as this is what will show 28 to users if they have to choose between multiple recognizers in 29 system settings. --> 30 <service android:name="VoiceRecognitionService" 31 android:label="@string/service_name"> 32 33 <intent-filter> 34 <!-- Here we identify that we are a RecognitionService by specifying that 35 we satisfy RecognitionService's interface intent. 36 37 The constant value is defined at RecognitionService.SERVICE_INTERFACE. --> 38 <action android:name="android.speech.RecognitionService" /> 39 <category android:name="android.intent.category.DEFAULT" /> 40 </intent-filter> 41 42 <!-- This points to a metadata xml file that contains information about this 43 RecognitionService - specifically, the name of the settings activity to 44 expose in system settings. 45 46 The constant value is defined at RecognitionService.SERVICE_META_DATA. --> 47 <meta-data android:name="android.speech" android:resource="@xml/recognizer" /> 48 49 </service> 50 51 <!-- The settings activity for this sample voice recognizer. --> 52 <activity android:name=".VoiceRecognitionSettings" 53 android:label="@string/settings_name" 54 android:exported="true" /> 55 56 </application> 57 </manifest> 58