diff options
| author | Menny Even Danan <menny@evendanan.net> | 2015-01-10 03:35:38 +0000 |
|---|---|---|
| committer | Menny Even Danan <menny@evendanan.net> | 2015-01-10 03:35:38 +0000 |
| commit | 39f4162d1827135e050410bc2c695a5b1b49952c (patch) | |
| tree | 7fb677d6f28b01596529bb8f3b5a822b1bc95284 /src/main/AndroidManifest.xml | |
| parent | d48a9b65091483b6dd7fa9d0d40ac85351753d19 (diff) | |
| download | AnySoftKeyboard-39f4162d1827135e050410bc2c695a5b1b49952c.tar.gz AnySoftKeyboard-39f4162d1827135e050410bc2c695a5b1b49952c.tar.bz2 | |
re-enabling Robolectric tests. Issue #377
Change-Id: I36b75220ddb99fe8f4ef55ccf172c50cca0c5b65
Diffstat (limited to 'src/main/AndroidManifest.xml')
| -rw-r--r-- | src/main/AndroidManifest.xml | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml new file mode 100644 index 000000000..a1829b179 --- /dev/null +++ b/src/main/AndroidManifest.xml @@ -0,0 +1,108 @@ +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.menny.android.anysoftkeyboard"> + + <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-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:installLocation="internalOnly" + android:label="@string/ime_name" + android:restoreAnyVersion="true" + android:theme="@style/Theme.AskApp"> + + <!-- 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> + + <!-- ui activities --> + <!-- settings ui activities --> + <!-- this is just a proxy activity, it does nothing but direct to the actual setting ativity + I use this, so I can 'disable' this activity at runtime, and so remove ASK from the launcher's icons --> + <activity android:theme="@style/Theme.AskApp" + android:name="com.menny.android.anysoftkeyboard.LauncherSettingsActivity" + android:icon="@drawable/ic_launcher_settings" + android:launchMode="singleTop" + android:label="@string/ime_name"> + <intent-filter> + <action android:name="android.intent.action.MAIN"/> + + <category android:name="android.intent.category.LAUNCHER"/> + </intent-filter> + </activity> + <activity android:theme="@style/Theme.AskApp" + android:name="com.anysoftkeyboard.ui.settings.MainSettingsActivity" + android:icon="@drawable/ic_launcher_settings" + android:launchMode="singleTask" + android:label="@string/ime_name"> + </activity> + + <activity + android:name="com.anysoftkeyboard.ui.tutorials.TestersNoticeActivity" + android:icon="@drawable/ic_launcher" + android:label="@string/testers_version" + android:launchMode="singleTop" + android:theme="@style/Theme.AskApp.Popup"> + </activity> + <!-- ui when a crash happens --> + <activity android:theme="@style/Theme.AskApp.NoTitle" + android:name="com.anysoftkeyboard.ui.SendBugReportUiActivity" + android:icon="@drawable/ic_launcher" + android:label="@string/ime_name"> + </activity> + <!-- for voice --> + <service android:name="com.google.android.voiceime.ServiceHelper" /> + <activity + android:name="com.google.android.voiceime.ActivityHelper" + android:theme="@android:style/Theme.Translucent.NoTitleBar" + android:excludeFromRecents="true" + android:windowSoftInputMode="stateAlwaysHidden" + android:finishOnTaskLaunch="true" + android:documentLaunchMode="never" + android:clearTaskOnLaunch="true" + android:launchMode="singleInstance" + android:configChanges="keyboard|keyboardHidden|navigation|orientation"/> + <activity + android:name="com.anysoftkeyboard.ui.VoiceInputNotInstalledActivity" + android:theme="@android:style/Theme.Translucent.NoTitleBar" + android:icon="@drawable/ic_launcher" + android:label="@string/ime_name"/> + </application> + +</manifest> |
