71288c6274f9dbb271c86ae81583d5610001814c
[strongswan.git] / src / frontends / android / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Copyright (C) 2012 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="9"
21 android:versionName="1.2.1" >
22
23 <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17" />
24
25 <uses-permission android:name="android.permission.INTERNET" />
26 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
27
28 <application
29 android:icon="@drawable/ic_launcher"
30 android:label="@string/app_name"
31 android:theme="@style/ApplicationTheme"
32 android:allowBackup="false" >
33 <activity
34 android:name=".ui.MainActivity"
35 android:label="@string/main_activity_name"
36 android:launchMode="singleTop" >
37 <intent-filter>
38 <action android:name="android.intent.action.MAIN" />
39 <category android:name="android.intent.category.LAUNCHER" />
40 </intent-filter>
41 <intent-filter>
42 <action android:name="org.strongswan.android.action.START_PROFILE" />
43 <category android:name="android.intent.category.DEFAULT" />
44 </intent-filter>
45 </activity>
46 <activity
47 android:name=".ui.VpnProfileDetailActivity" >
48 </activity>
49 <activity
50 android:name=".ui.TrustedCertificatesActivity"
51 android:label="@string/trusted_certs_title" >
52 </activity>
53 <activity
54 android:name=".ui.LogActivity"
55 android:label="@string/log_title" >
56 </activity>
57 <activity
58 android:name=".ui.VpnProfileSelectActivity"
59 android:label="@string/strongswan_shortcut" >
60 <intent-filter>
61 <action android:name="android.intent.action.CREATE_SHORTCUT" />
62 <action android:name="android.intent.category.DEFAULT" />
63 </intent-filter>
64 </activity>
65
66 <service
67 android:name=".logic.VpnStateService"
68 android:exported="false" >
69 </service>
70 <service
71 android:name=".logic.CharonVpnService"
72 android:exported="false"
73 android:permission="android.permission.BIND_VPN_SERVICE" >
74 <intent-filter>
75 <action android:name="android.net.VpnService" />
76 </intent-filter>
77 </service>
78
79 <provider
80 android:name=".data.LogContentProvider"
81 android:authorities="org.strongswan.android.content.log"
82 android:exported="true" >
83 <!-- android:grantUriPermissions="true" combined with a custom permission does
84 not work (probably too many indirections with ACTION_SEND) so we secure
85 this provider with a custom ticketing system -->
86 </provider>
87 </application>
88
89 </manifest>