open-keychain/org_apg/AndroidManifest.xml

255 lines
12 KiB
XML
Raw Normal View History

2010-04-06 15:54:51 -04:00
<?xml version="1.0" encoding="utf-8"?>
2012-03-09 06:13:28 -05:00
<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org> 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. -->
2010-04-06 15:54:51 -04:00
2012-03-09 06:13:28 -05:00
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2012-04-14 10:18:06 -04:00
package="org.thialfihar.android.apg"
2012-04-11 13:29:27 -04:00
android:installLocation="auto"
2012-03-22 15:38:50 -04:00
android:versionCode="50"
2012-04-14 10:18:06 -04:00
android:versionName="2.0" >
2012-03-09 06:13:28 -05:00
2012-04-14 10:18:06 -04:00
<!-- APG 2 starting with versionCode 50! -->
2012-03-22 15:38:50 -04:00
2012-03-09 06:13:28 -05:00
<uses-sdk
2012-04-11 14:00:00 -04:00
android:minSdkVersion="7"
2012-03-09 06:13:28 -05:00
android:targetSdkVersion="14" />
2012-03-10 15:24:53 -05:00
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.fsck.k9.permission.READ_ATTACHMENT" />
2012-03-09 06:13:28 -05:00
<permission
2012-04-14 10:18:06 -04:00
android:name="org.thialfihar.android.apg.permission.READ_KEY_DETAILS"
2012-03-09 06:13:28 -05:00
android:description="@string/permission_read_key_details_description"
android:label="@string/permission_read_key_details_label"
android:protectionLevel="dangerous" />
<permission
2012-04-14 10:18:06 -04:00
android:name="org.thialfihar.android.apg.permission.STORE_BLOBS"
2012-03-09 06:13:28 -05:00
android:description="@string/permission_store_blobs_description"
android:label="@string/permission_store_blobs_label"
android:protectionLevel="dangerous" />
<application
android:hardwareAccelerated="true"
android:icon="@drawable/icon"
2012-03-11 12:33:40 -04:00
android:label="@string/app_name"
2012-03-11 19:12:19 -04:00
android:theme="@style/Theme.Sherlock.Light.ForceOverflow" >
<activity
android:name=".ui.MainActivity"
2012-03-09 06:13:28 -05:00
android:configChanges="keyboardHidden|orientation|keyboard"
android:label="@string/app_name" >
2010-04-06 15:54:51 -04:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
2012-03-09 06:13:28 -05:00
2010-04-06 15:54:51 -04:00
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ui.PublicKeyListActivity"
android:configChanges="keyboardHidden|orientation|keyboard"
2012-03-09 06:13:28 -05:00
android:label="@string/title_managePublicKeys"
2012-03-11 19:12:19 -04:00
android:launchMode="singleTop"
android:uiOptions="splitActionBarWhenNarrow" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
2012-03-09 06:13:28 -05:00
android:resource="@xml/searchable_public_keys" />
</activity>
<activity
android:name=".ui.SecretKeyListActivity"
android:configChanges="keyboardHidden|orientation|keyboard"
2012-03-09 06:13:28 -05:00
android:label="@string/title_manageSecretKeys"
2012-03-11 19:12:19 -04:00
android:launchMode="singleTop"
android:uiOptions="splitActionBarWhenNarrow" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
2012-03-09 06:13:28 -05:00
android:resource="@xml/searchable_secret_keys" />
</activity>
<activity
android:name=".ui.EditKeyActivity"
2012-03-09 06:13:28 -05:00
android:configChanges="keyboardHidden|orientation|keyboard"
2012-03-11 20:58:24 -04:00
android:label="@string/title_editKey"
2012-04-12 13:44:00 -04:00
android:uiOptions="splitActionBarWhenNarrow"
android:windowSoftInputMode="stateHidden" >
2012-04-12 09:23:00 -04:00
<intent-filter>
2012-04-14 10:18:06 -04:00
<action android:name="org.thialfihar.android.apg.intent.CREATE_KEY" />
<action android:name="org.thialfihar.android.apg.intent.EDIT_KEY" />
2012-04-12 09:23:00 -04:00
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".ui.SelectPublicKeyListActivity"
android:configChanges="keyboardHidden|orientation|keyboard"
2012-03-09 06:13:28 -05:00
android:label="@string/title_selectRecipients"
2012-04-11 13:29:27 -04:00
android:launchMode="singleTop"
android:uiOptions="splitActionBarWhenNarrow" >
2010-05-31 23:20:13 -04:00
<intent-filter>
2012-04-14 10:18:06 -04:00
<action android:name="org.thialfihar.android.apg.intent.SELECT_PUBLIC_KEYS" />
2010-05-31 23:20:13 -04:00
2012-03-09 06:13:28 -05:00
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
2012-03-09 06:13:28 -05:00
android:resource="@xml/searchable_public_keys" />
2010-05-31 23:20:13 -04:00
</activity>
<activity
android:name=".ui.SelectSecretKeyListActivity"
android:configChanges="keyboardHidden|orientation|keyboard"
2012-03-09 06:13:28 -05:00
android:label="@string/title_selectSignature"
android:launchMode="singleTop" >
2010-05-31 23:20:13 -04:00
<intent-filter>
2012-04-14 10:18:06 -04:00
<action android:name="org.thialfihar.android.apg.intent.SELECT_SECRET_KEY" />
2010-05-31 23:20:13 -04:00
2012-03-09 06:13:28 -05:00
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
2012-03-09 06:13:28 -05:00
android:resource="@xml/searchable_secret_keys" />
2010-05-31 23:20:13 -04:00
</activity>
<activity
android:name=".ui.EncryptActivity"
2012-03-09 06:13:28 -05:00
android:configChanges="keyboardHidden|orientation|keyboard"
2012-03-11 19:12:19 -04:00
android:label="@string/title_encrypt"
2012-04-12 20:34:46 -04:00
android:uiOptions="splitActionBarWhenNarrow"
android:windowSoftInputMode="stateHidden" >
2010-04-06 15:54:51 -04:00
<intent-filter>
2012-04-14 10:18:06 -04:00
<action android:name="org.thialfihar.android.apg.intent.ENCRYPT" />
<action android:name="org.thialfihar.android.apg.intent.ENCRYPT_FILE" />
<action android:name="org.thialfihar.android.apg.intent.ENCRYPT_AND_RETURN" />
<action android:name="org.thialfihar.android.apg.intent.GENERATE_SIGNATURE" />
2012-03-09 06:13:28 -05:00
<category android:name="android.intent.category.DEFAULT" />
2012-03-09 06:13:28 -05:00
<data android:mimeType="*/*" />
</intent-filter>
</activity>
<activity
android:name=".ui.DecryptActivity"
2012-03-09 06:13:28 -05:00
android:configChanges="keyboardHidden|orientation|keyboard"
2012-03-11 19:12:19 -04:00
android:label="@string/title_decrypt"
2012-04-12 20:34:46 -04:00
android:uiOptions="splitActionBarWhenNarrow"
android:windowSoftInputMode="stateHidden" >
2010-04-06 15:54:51 -04:00
<intent-filter>
2012-04-14 10:18:06 -04:00
<action android:name="org.thialfihar.android.apg.intent.DECRYPT" />
<action android:name="org.thialfihar.android.apg.intent.DECRYPT_FILE" />
<action android:name="org.thialfihar.android.apg.intent.DECRYPT_AND_RETURN" />
2012-03-09 06:13:28 -05:00
<category android:name="android.intent.category.DEFAULT" />
2012-03-09 06:13:28 -05:00
<data android:mimeType="*/*" />
</intent-filter>
</activity>
<activity
android:name=".ui.GeneralActivity"
android:configChanges="keyboardHidden|orientation|keyboard"
2012-03-09 06:13:28 -05:00
android:label="@string/app_name"
android:theme="@android:style/Theme.Dialog" >
2010-04-06 15:54:51 -04:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.SEND" />
2012-03-09 06:13:28 -05:00
<category android:name="android.intent.category.DEFAULT" />
<data
android:mimeType="*/*"
android:scheme="file" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.SEND" />
2012-03-09 06:13:28 -05:00
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.SEND" />
2012-03-09 06:13:28 -05:00
<category android:name="android.intent.category.DEFAULT" />
2012-03-09 06:13:28 -05:00
<data
android:mimeType="text/*"
android:scheme="" />
</intent-filter>
</activity>
<activity
android:name=".ui.MailListActivity"
2012-03-09 06:13:28 -05:00
android:configChanges="keyboardHidden|orientation|keyboard"
android:label="@string/title_mailInbox" />
<activity
android:name=".ui.KeyServerQueryActivity"
2012-03-09 06:13:28 -05:00
android:configChanges="keyboardHidden|orientation|keyboard"
android:label="@string/title_keyServerQuery" />
<activity
2012-03-12 09:28:35 -04:00
android:name=".ui.KeyServerExportActivity"
2012-03-09 06:13:28 -05:00
android:configChanges="keyboardHidden|orientation|keyboard"
android:label="@string/title_sendKey" />
<activity
android:name=".ui.PreferencesActivity"
2012-03-09 06:13:28 -05:00
android:configChanges="keyboardHidden|orientation|keyboard"
android:label="@string/title_preferences" />
<activity
android:name=".ui.KeyServerPreferenceActivity"
2012-03-09 06:13:28 -05:00
android:configChanges="keyboardHidden|orientation|keyboard"
android:label="@string/title_keyServerPreference" />
<activity
android:name=".ui.SignKeyActivity"
2012-03-09 06:13:28 -05:00
android:configChanges="keyboardHidden|orientation|keyboard"
android:label="@string/title_signKey" />
<activity
android:name=".ui.ImportFromQRCodeActivity"
2012-03-09 06:13:28 -05:00
android:configChanges="keyboardHidden|orientation|keyboard"
android:label="@string/title_importFromQRCode" />
<activity
android:name=".ui.AboutActivity"
android:excludeFromRecents="true"
android:label="@string/title_about"
2012-03-11 19:12:19 -04:00
android:theme="@style/Theme.Sherlock.Light.Dialog" />
2012-03-12 10:10:26 -04:00
<activity
2012-04-14 10:18:06 -04:00
android:name="org.thialfihar.android.apg.ui.HelpActivity"
2012-03-12 10:10:26 -04:00
android:label="@string/title_help" />
2012-04-25 12:59:51 -04:00
<service android:name=".service.PassphraseCacheService" />
2012-04-20 06:12:07 -04:00
<service android:name=".service.ApgService" />
2012-04-25 12:59:51 -04:00
<!-- TODO: need to be moved into new service model -->
<service
android:name=".service.ApgService2"
android:enabled="true"
android:exported="true"
android:permission="org.thialfihar.android.apg.permission.READ_KEY_DETAILS"
android:process=":remote" >
<intent-filter>
<action android:name="org.thialfihar.android.apg.service.IApgService2" />
</intent-filter>
<meta-data
android:name="api_version"
android:value="2" />
</service>
2012-03-09 06:13:28 -05:00
<provider
android:name=".provider.DataProvider"
2012-04-14 10:18:06 -04:00
android:authorities="org.thialfihar.android.apg.provider"
android:readPermission="org.thialfihar.android.apg.permission.READ_KEY_DETAILS" />
<provider
2012-04-14 10:18:06 -04:00
android:name="org.thialfihar.android.apg.provider.ApgServiceBlobProvider"
android:authorities="org.thialfihar.android.apg.provider.apgserviceblobprovider"
android:permission="org.thialfihar.android.apg.permission.STORE_BLOBS" />
2010-04-06 15:54:51 -04:00
</application>
2012-03-09 06:13:28 -05:00
</manifest>