android: Encode connection settings as single Java string argument
[strongswan.git] / src / frontends / android / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright (C) 2012-2015 Tobias Brunner
4 Copyright (C) 2012 Giuliano Grassi
5 Copyright (C) 2012 Ralf Sager
6 Hochschule fuer Technik Rapperswil
7
8 This program is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by the
10 Free Software Foundation; either version 2 of the License, or (at your
11 option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
12
13 This program is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 for more details.
17 -->
18 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
19 package="org.strongswan.android"
20 android:versionCode="26"
21 android:versionName="1.4.5" >
22
23 <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="22" />
24
25 <uses-permission android:name="android.permission.INTERNET" />
26 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
27
28 <application
29 android:name=".logic.StrongSwanApplication"
30 android:icon="@drawable/ic_launcher"
31 android:label="@string/app_name"
32 android:theme="@style/ApplicationTheme"
33 android:allowBackup="false" >
34 <activity
35 android:name=".ui.MainActivity"
36 android:label="@string/main_activity_name"
37 android:launchMode="singleTop" >
38 <intent-filter>
39 <action android:name="android.intent.action.MAIN" />
40 <category android:name="android.intent.category.LAUNCHER" />
41 </intent-filter>
42 <intent-filter>
43 <action android:name="org.strongswan.android.action.START_PROFILE" />
44 <category android:name="android.intent.category.DEFAULT" />
45 </intent-filter>
46 </activity>
47 <activity
48 android:name=".ui.VpnProfileDetailActivity" >
49 </activity>
50 <activity
51 android:name=".ui.TrustedCertificatesActivity"
52 android:label="@string/trusted_certs_title" >
53 </activity>
54 <activity
55 android:name=".ui.LogActivity"
56 android:label="@string/log_title" >
57 </activity>
58 <activity
59 android:name=".ui.RemediationInstructionsActivity"
60 android:label="@string/remediation_instructions_title" >
61 </activity>
62 <activity
63 android:name=".ui.VpnProfileSelectActivity"
64 android:label="@string/strongswan_shortcut" >
65 <intent-filter>
66 <action android:name="android.intent.action.CREATE_SHORTCUT" />
67 <category android:name="android.intent.category.DEFAULT" />
68 </intent-filter>
69 </activity>
70 <activity
71 android:name=".ui.TrustedCertificateImportActivity"
72 android:label="@string/import_certificate"
73 android:theme="@android:style/Theme.Holo.Dialog.NoActionBar" >
74 <intent-filter>
75 <action android:name="android.intent.action.VIEW" />
76 <category android:name="android.intent.category.DEFAULT" />
77 <data android:mimeType="application/x-x509-ca-cert" />
78 <data android:mimeType="application/x-x509-server-cert" />
79 <data android:mimeType="application/x-pem-file" />
80 <data android:mimeType="application/pkix-cert" />
81 </intent-filter>
82 </activity>
83
84 <service
85 android:name=".logic.VpnStateService"
86 android:exported="false" >
87 </service>
88 <service
89 android:name=".logic.CharonVpnService"
90 android:exported="false"
91 android:permission="android.permission.BIND_VPN_SERVICE" >
92 <intent-filter>
93 <action android:name="android.net.VpnService" />
94 </intent-filter>
95 </service>
96
97 <provider
98 android:name=".data.LogContentProvider"
99 android:authorities="org.strongswan.android.content.log"
100 android:exported="true" >
101 <!-- android:grantUriPermissions="true" combined with a custom permission does
102 not work (probably too many indirections with ACTION_SEND) so we secure
103 this provider with a custom ticketing system -->
104 </provider>
105 </application>
106
107 </manifest>