diff options
| author | Menny Even Danan <menny@evendanan.net> | 2013-10-10 00:54:51 +0000 |
|---|---|---|
| committer | Menny Even Danan <menny@evendanan.net> | 2013-10-10 00:54:51 +0000 |
| commit | 2b97d92d00c44d84b311d64c13a40da3036dfaa6 (patch) | |
| tree | 8354f5a5f7fd5862ad0537efd3b2272b27430163 /src/main/AndroidManifest.xml | |
| parent | b2b26f3a20edfcfe82d6f0ded3d300f007454638 (diff) | |
| download | AnySoftKeyboard-2b97d92d00c44d84b311d64c13a40da3036dfaa6.tar.gz AnySoftKeyboard-2b97d92d00c44d84b311d64c13a40da3036dfaa6.tar.bz2 | |
more work on Gradle. Moving to a more Gradle-like folder structure, and adjusting the build.gradle file to ASK needs, including local password file, console input, beta flavor, etc
Diffstat (limited to 'src/main/AndroidManifest.xml')
| -rw-r--r-- | src/main/AndroidManifest.xml | 212 |
1 files changed, 201 insertions, 11 deletions
diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml index fbfed3852..b6f74e085 100644 --- a/src/main/AndroidManifest.xml +++ b/src/main/AndroidManifest.xml @@ -1,27 +1,217 @@ -<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.menny.android.anysoftkeyboard" - android:versionCode="1" - android:versionName="1.0" > + android:versionCode="112" + android:versionName="20131009"> + + <supports-screens + android:anyDensity="true" + android:largeScreens="true" + android:normalScreens="true" + android:smallScreens="true" + android:xlargeScreens="true"/> + <!-- http://d.android.com/guide/practices/screens_support.html read about legacy. --> <uses-sdk android:minSdkVersion="4" - android:targetSdkVersion="18" /> + android:targetSdkVersion="18"> + </uses-sdk> + + <uses-permission android:name="android.permission.VIBRATE"/> + <!-- required for the user dictionary (long press a word in the suggestions bar) --> + <uses-permission android:name="android.permission.READ_USER_DICTIONARY"/> + <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY"/> + <!-- REQUIRED FOR THE CONTACTS DICTIONARY --> + <uses-permission android:name="android.permission.READ_CONTACTS"/> + <!-- REQUIRED BACKUP TO/RESTORE FROM SDCARD --> + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> + + <!-- currently, only support touch screens --> + <uses-configuration android:reqTouchScreen="finger"/> + <uses-configuration android:reqTouchScreen="stylus"/> <application + android:name=".AnyApplication" android:allowBackup="true" + android:backupAgent="com.anysoftkeyboard.backup.AnyBackupAgent" + android:hardwareAccelerated="true" android:icon="@drawable/ic_launcher" - android:label="@string/app_name" - android:theme="@style/AppTheme" > + android:installLocation="internalOnly" + android:label="@string/ime_name" + android:restoreAnyVersion="true"> + + <!-- used to backup the settings and SQL to the cloud --> + <meta-data + android:name="com.google.android.backup.api_key" + android:value="AEdPqrEAAAAILlrSpiqigog3iJt3BwYxzNXMUzqgGV_dJ1EPDQ"/> + + <!-- this is the IME with the pointer to the settings ui (xml/method) --> + <service + android:name=".SoftKeyboard" + android:permission="android.permission.BIND_INPUT_METHOD"> + <intent-filter> + <action android:name="android.view.InputMethod"/> + </intent-filter> + + <meta-data + android:name="android.view.im" + android:resource="@xml/method"/> + </service> + <!-- + Not ready for prime-time + <service android:name="com.anysoftkeyboard.spellcheck.AnySpellCheckerService" + android:label="@string/spell_checker_service_name" + android:permission="android.permission.BIND_TEXT_SERVICE"> + <intent-filter> + <action android:name="android.service.textservice.SpellCheckerService" /> + </intent-filter> + <meta-data android:name="android.view.textservice.scs" android:resource="@xml/spellchecker" /> + </service> + --> + <!-- receivers for outside events --> + <!-- + this is used for showing HOW-TO after Market install + Probably does not work anymore. It seems that Market v3 will only call this broadcast + on first app activation. Which is a good security fix, but bad for me :) + I'm keeping it here since some devices STILL have Market v2. So, I'm being greedy. + --> + <receiver + android:name="com.anysoftkeyboard.receivers.AnySoftKeyboardInstalledReceiver" + android:exported="true"> + <intent-filter> + <action android:name="com.android.vending.INSTALL_REFERRER"/> + </intent-filter> + </receiver> + + <!-- ui activities --> + <!-- settings ui activities --> <activity - android:name="com.menny.android.anysoftkeyboard.SettingsActivity" - android:label="@string/app_name" > + android:name="com.menny.android.anysoftkeyboard.LauncherSettingsActivity" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/settings_app_name"> <intent-filter> - <action android:name="android.intent.action.MAIN" /> + <action android:name="android.intent.action.MAIN"/> - <category android:name="android.intent.category.LAUNCHER" /> + <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> + <activity + android:name="com.menny.android.anysoftkeyboard.MainSettings" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/settings_app_name"> + </activity> + <activity + android:name="com.anysoftkeyboard.ui.settings.MainSettings" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/settings_app_name"> + </activity> + <activity + android:name="com.anysoftkeyboard.ui.settings.Dictionaries" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/special_dictionaries_group"> + </activity> + <activity + android:name="com.anysoftkeyboard.ui.settings.UserDictionaryEditorActivity" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/user_dict_settings_titlebar"> + </activity> + <activity + android:name="com.anysoftkeyboard.ui.settings.Tweaks" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/tweaks_group"> + </activity> + <activity + android:name="com.anysoftkeyboard.ui.settings.Keyboards" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/keyboards_group"> + </activity> + <activity + android:name="com.anysoftkeyboard.ui.settings.KeyboardThemeSelector" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/keyboard_theme_group"/> + <activity + android:name="com.anysoftkeyboard.ui.settings.QuickTextKeys" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/quick_text_keys_group"/> + <activity + android:name="com.anysoftkeyboard.ui.settings.TopRowSelector" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/top_generic_row_group"/> + <activity + android:name="com.anysoftkeyboard.ui.settings.BottomRowSelector" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/bottom_generic_row_group"/> + <activity + android:name="com.anysoftkeyboard.ui.settings.ExtensionKeyboardSelector" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/extension_keyboard_group"/> + <!-- information ui activities --> + <activity + android:name="com.anysoftkeyboard.ui.tutorials.TipsActivity" + android:icon="@drawable/ic_launcher" + android:label="@string/tips_title" + android:theme="@style/Popup.NoTitle"> + </activity> + <activity + android:name="com.anysoftkeyboard.ui.tutorials.TestersNoticeActivity" + android:icon="@drawable/ic_launcher" + android:label="@string/testers_version" + android:theme="@style/Popup"> + </activity> + <activity + android:name="com.anysoftkeyboard.ui.tutorials.WelcomeHowToNoticeActivity" + android:icon="@drawable/ic_launcher" + android:label="@string/how_to_pointer_title" + android:theme="@style/Popup.NoTitle"> + </activity> + <activity + android:name="com.anysoftkeyboard.ui.tutorials.ChangeLogActivity" + android:icon="@drawable/ic_launcher" + android:label="@string/changelog" + android:theme="@style/Popup.NoTitle"> + </activity> + <!-- ui when a crash happens --> + <activity + android:name="com.anysoftkeyboard.ui.SendBugReportUiActivity" + android:icon="@drawable/ic_launcher" + android:label="@string/ime_name" + android:theme="@style/Popup"> + </activity> + <!-- main help/about/stuff --> + <activity + android:name="com.anysoftkeyboard.ui.MainForm" + android:icon="@drawable/ic_launcher" + android:label="@string/ime_name"> + </activity> + <!-- + <activity android:name="com.anysoftkeyboard.ui.settings.SpellCheckerSettingsActivity" + android:label="@string/spell_checker_settings" + android:icon="@drawable/ic_launcher_settings"> + </activity> + --> + <!-- for voice --> + <activity + android:name="com.anysoftkeyboard.voice.VoiceInputNotInstalledActivity" + android:icon="@drawable/ic_launcher" + android:label="@string/ime_name" + android:theme="@style/Popup.NoTitle"/> + + <service android:name="com.anysoftkeyboard.voice.ServiceHelper"/> + + <activity + android:name="com.anysoftkeyboard.voice.ActivityHelper" + android:configChanges="keyboard|keyboardHidden|navigation|orientation" + android:excludeFromRecents="true" + android:finishOnTaskLaunch="true" + android:icon="@drawable/ic_launcher" + android:theme="@android:style/Theme.Translucent.NoTitleBar" + android:windowSoftInputMode="stateAlwaysHidden"/> + + <!-- dev --> + <activity + android:name="com.anysoftkeyboard.ui.dev.MainDeveloperActivity" + android:icon="@drawable/ic_launcher_settings" + android:label="@string/developer_tools"> + </activity> </application> -</manifest> +</manifest>
\ No newline at end of file |
