1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2012 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<manifest xmlns:android="http://schemas.android.com/apk/res/android" 18 coreApp="true" 19 package="com.android.inputmethod.latin"> 20 21 <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="19" /> 22 23 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 24 <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" /> 25 <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 26 <uses-permission android:name="android.permission.READ_CONTACTS" /> 27 <uses-permission android:name="android.permission.READ_PROFILE" /> 28 <uses-permission android:name="android.permission.READ_USER_DICTIONARY" /> 29 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 30 <uses-permission android:name="android.permission.VIBRATE" /> 31 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 32 <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" /> 33 34 <application android:label="@string/english_ime_name" 35 android:icon="@drawable/ic_launcher_keyboard" 36 android:supportsRtl="true" 37 android:allowBackup="true"> 38 39 <service android:name="LatinIME" 40 android:label="@string/english_ime_name" 41 android:permission="android.permission.BIND_INPUT_METHOD"> 42 <intent-filter> 43 <action android:name="android.view.InputMethod" /> 44 </intent-filter> 45 <meta-data android:name="android.view.im" android:resource="@xml/method" /> 46 </service> 47 48 <service android:name=".spellcheck.AndroidSpellCheckerService" 49 android:label="@string/spell_checker_service_name" 50 android:permission="android.permission.BIND_TEXT_SERVICE"> 51 <intent-filter> 52 <action android:name="android.service.textservice.SpellCheckerService" /> 53 </intent-filter> 54 <meta-data android:name="android.view.textservice.scs" 55 android:resource="@xml/spellchecker" /> 56 </service> 57 58 <activity android:name=".setup.SetupActivity" 59 android:theme="@style/platformActivityTheme" 60 android:label="@string/english_ime_name" 61 android:icon="@drawable/ic_launcher_keyboard" 62 android:launchMode="singleTask" 63 android:noHistory="true"> 64 <intent-filter> 65 <action android:name="android.intent.action.MAIN" /> 66 <category android:name="android.intent.category.LAUNCHER" /> 67 </intent-filter> 68 </activity> 69 70 <activity android:name=".setup.SetupWizardActivity" 71 android:theme="@style/platformActivityTheme" 72 android:label="@string/english_ime_name" 73 android:clearTaskOnLaunch="true"> 74 <intent-filter> 75 <action android:name="android.intent.action.MAIN" /> 76 </intent-filter> 77 </activity> 78 79 <receiver android:name="SystemBroadcastReceiver"> 80 <intent-filter> 81 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" /> 82 <action android:name="android.intent.action.BOOT_COMPLETED" /> 83 <action android:name="android.intent.action.USER_INITIALIZE" /> 84 <action android:name="android.intent.action.LOCALE_CHANGED" /> 85 </intent-filter> 86 </receiver> 87 88 <activity android:name=".settings.SettingsActivity" 89 android:theme="@style/platformSettingsTheme" 90 android:label="@string/english_ime_settings" 91 android:uiOptions="splitActionBarWhenNarrow"> 92 <intent-filter> 93 <action android:name="android.intent.action.MAIN" /> 94 </intent-filter> 95 </activity> 96 97 <activity android:name=".spellcheck.SpellCheckerSettingsActivity" 98 android:theme="@style/platformSettingsTheme" 99 android:label="@string/android_spell_checker_settings"> 100 <intent-filter> 101 <action android:name="android.intent.action.MAIN" /> 102 </intent-filter> 103 </activity> 104 105 <receiver android:name="SuggestionSpanPickedNotificationReceiver" android:enabled="true"> 106 <intent-filter> 107 <action android:name="android.text.style.SUGGESTION_PICKED" /> 108 </intent-filter> 109 </receiver> 110 111 <receiver android:name=".personalization.DictionaryDecayBroadcastReciever" 112 android:exported="false"> 113 <intent-filter> 114 <action android:name="com.android.inputmethod.latin.personalization.DICT_DECAY" /> 115 </intent-filter> 116 </receiver> 117 118 <receiver android:name=".DictionaryPackInstallBroadcastReceiver" android:exported="false"> 119 <intent-filter> 120 <action android:name="com.android.inputmethod.dictionarypack.aosp.UNKNOWN_CLIENT" /> 121 </intent-filter> 122 </receiver> 123 124 <provider android:name="com.android.inputmethod.dictionarypack.DictionaryProvider" 125 android:grantUriPermissions="true" 126 android:exported="false" 127 android:authorities="@string/authority" 128 android:multiprocess="false" 129 android:label="@string/dictionary_provider_name"> 130 </provider> 131 132 <service android:name="com.android.inputmethod.dictionarypack.DictionaryService" 133 android:label="@string/dictionary_service_name"> 134 </service> 135 136 <receiver android:name="com.android.inputmethod.dictionarypack.EventHandler"> 137 <intent-filter> 138 <action android:name="android.intent.action.DOWNLOAD_COMPLETE" /> 139 <action android:name="android.intent.action.DATE_CHANGED" /> 140 <action android:name="com.android.inputmethod.dictionarypack.aosp.UPDATE_NOW" /> 141 </intent-filter> 142 </receiver> 143 144 <activity android:name="com.android.inputmethod.dictionarypack.DictionarySettingsActivity" 145 android:theme="@style/platformSettingsTheme" 146 android:label="@string/dictionary_settings_title" 147 android:uiOptions="splitActionBarWhenNarrow"> 148 <intent-filter> 149 <action android:name="android.intent.action.MAIN"/> 150 </intent-filter> 151 </activity> 152 153 <activity android:name="com.android.inputmethod.dictionarypack.DownloadOverMeteredDialog" 154 android:theme="@style/platformActivityTheme" 155 android:label="@string/dictionary_install_over_metered_network_prompt"> 156 <intent-filter> 157 <action android:name="android.intent.action.MAIN"/> 158 </intent-filter> 159 </activity> 160 </application> 161</manifest> 162