]> git.ipfire.org Git - thirdparty/strongswan.git/blob - src/frontends/android/app/src/main/AndroidManifest.xml
5d827a34def6cfccdefbf4b28fdd9ee0376a57f3
[thirdparty/strongswan.git] / src / frontends / android / app / src / main / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright (C) 2012-2018 Tobias Brunner
4 Copyright (C) 2012 Giuliano Grassi
5 Copyright (C) 2012 Ralf Sager
6 HSR 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
21 <uses-permission android:name="android.permission.INTERNET" />
22 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
23 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
24
25 <application
26 android:name=".logic.StrongSwanApplication"
27 android:icon="@drawable/ic_launcher"
28 android:label="@string/app_name"
29 android:theme="@style/ApplicationTheme"
30 android:allowBackup="false" >
31 <activity
32 android:name=".ui.MainActivity"
33 android:label="@string/main_activity_name"
34 android:launchMode="singleTop" >
35 <intent-filter>
36 <action android:name="android.intent.action.MAIN" />
37 <category android:name="android.intent.category.LAUNCHER" />
38 </intent-filter>
39 </activity>
40 <activity
41 android:name=".ui.VpnProfileControlActivity"
42 android:theme="@style/TransparentActivity"
43 android:taskAffinity=""
44 android:excludeFromRecents="true"
45 android:launchMode="singleTask" >
46 <intent-filter>
47 <action android:name="org.strongswan.android.action.START_PROFILE" />
48 <category android:name="android.intent.category.DEFAULT" />
49 </intent-filter>
50 <intent-filter>
51 <action android:name="org.strongswan.android.action.DISCONNECT" />
52 <category android:name="android.intent.category.DEFAULT" />
53 </intent-filter>
54 </activity>
55 <activity
56 android:name=".ui.VpnProfileDetailActivity" >
57 </activity>
58 <activity
59 android:name=".ui.TrustedCertificatesActivity"
60 android:label="@string/trusted_certs_title" >
61 </activity>
62 <activity
63 android:name=".ui.SelectedApplicationsActivity"
64 android:label="@string/profile_select_apps" >
65 </activity>
66 <activity
67 android:name=".ui.LogActivity"
68 android:label="@string/log_title" >
69 </activity>
70 <activity
71 android:name=".ui.SettingsActivity"
72 android:label="@string/pref_title">
73 </activity>
74 <activity
75 android:name=".ui.RemediationInstructionsActivity"
76 android:label="@string/remediation_instructions_title" >
77 </activity>
78 <activity
79 android:name=".ui.VpnProfileSelectActivity"
80 android:label="@string/strongswan_shortcut" >
81 <intent-filter>
82 <action android:name="android.intent.action.CREATE_SHORTCUT" />
83 <category android:name="android.intent.category.DEFAULT" />
84 </intent-filter>
85 </activity>
86 <activity
87 android:name=".ui.VpnProfileImportActivity"
88 android:label="@string/profile_import"
89 android:taskAffinity=""
90 android:excludeFromRecents="true" >
91 <intent-filter>
92 <action android:name="android.intent.action.VIEW" />
93 <category android:name="android.intent.category.DEFAULT" />
94 <category android:name="android.intent.category.BROWSABLE" />
95 <data android:scheme="http" />
96 <data android:scheme="https" />
97 <data android:scheme="file" />
98 <data android:scheme="content" />
99 <data android:mimeType="application/vnd.strongswan.profile" />
100 </intent-filter>
101 <!-- this matches by file extension if no MIME type is provided -->
102 <intent-filter>
103 <action android:name="android.intent.action.VIEW" />
104 <category android:name="android.intent.category.DEFAULT" />
105 <category android:name="android.intent.category.BROWSABLE" />
106 <data android:scheme="http" />
107 <data android:scheme="https" />
108 <data android:scheme="file" />
109 <data android:scheme="content" />
110 <data android:host="*" />
111 <data android:pathPattern=".*\\..*\\..*\\..*\\.sswan" />
112 <data android:pathPattern=".*\\..*\\..*\\.sswan" />
113 <data android:pathPattern=".*\\..*\\.sswan" />
114 <data android:pathPattern=".*\\.sswan" />
115 </intent-filter>
116 <!-- this matches by file extension if any MIME type (but not ours) is provided -->
117 <intent-filter>
118 <action android:name="android.intent.action.VIEW" />
119 <category android:name="android.intent.category.DEFAULT" />
120 <category android:name="android.intent.category.BROWSABLE" />
121 <data android:scheme="http" />
122 <data android:scheme="https" />
123 <data android:scheme="file" />
124 <data android:scheme="content" />
125 <data android:host="*" />
126 <data android:mimeType="*/*" />
127 <data android:pathPattern=".*\\..*\\..*\\..*\\.sswan" />
128 <data android:pathPattern=".*\\..*\\..*\\.sswan" />
129 <data android:pathPattern=".*\\..*\\.sswan" />
130 <data android:pathPattern=".*\\.sswan" />
131 </intent-filter>
132 </activity>
133 <activity
134 android:name=".ui.TrustedCertificateImportActivity"
135 android:label="@string/import_certificate"
136 android:theme="@style/TransparentActivity" >
137 <intent-filter>
138 <action android:name="android.intent.action.VIEW" />
139 <category android:name="android.intent.category.DEFAULT" />
140 <data android:mimeType="application/x-x509-ca-cert" />
141 <data android:mimeType="application/x-x509-server-cert" />
142 <data android:mimeType="application/x-pem-file" />
143 <data android:mimeType="application/pkix-cert" />
144 </intent-filter>
145 </activity>
146
147 <service
148 android:name=".logic.VpnStateService"
149 android:exported="false" >
150 </service>
151 <service
152 android:name=".logic.CharonVpnService"
153 android:exported="false"
154 android:permission="android.permission.BIND_VPN_SERVICE" >
155 <intent-filter>
156 <action android:name="android.net.VpnService" />
157 </intent-filter>
158 </service>
159
160 <provider
161 android:name=".data.LogContentProvider"
162 android:authorities="org.strongswan.android.content.log"
163 android:exported="true" >
164 <!-- android:grantUriPermissions="true" combined with a custom permission does
165 not work (probably too many indirections with ACTION_SEND) so we secure
166 this provider with a custom ticketing system -->
167 </provider>
168 </application>
169
170 </manifest>