forked from morgenroth/ibrdtn
-
Notifications
You must be signed in to change notification settings - Fork 61
/
AndroidManifest.xml
164 lines (137 loc) · 6.92 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.tubs.ibr.dtn" android:versionCode="1000"
android:versionName="1.0">
<permission android:name="de.tubs.ibr.dtn.permission.DTN_COMMUNICATION"
android:description="@string/permdesc_dtnCommunication" android:label="@string/permlab_dtnCommunication"
android:permissionGroup="android.permission-group.NETWORK"
android:protectionLevel="normal" />
<permission android:name="de.tubs.ibr.dtn.permission.DTN_CONTROL"
android:description="@string/permdesc_dtnControl" android:label="@string/permlab_dtnControl"
android:permissionGroup="android.permission-group.NETWORK"
android:protectionLevel="dangerous" />
<permission android:name="de.tubs.ibr.dtn.permission.DTN_SERVER"
android:label="@string/permlab_dtnCommunicationServer"
android:description="@string/permdesc_dtnCommunicationServer"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="normal" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<!-- READ_LOGS is needed on Android < 4.1, On Android >= 4.1 an app can
read it's own logs without permission -->
<uses-permission android:name="android.permission.READ_LOGS" />
<!-- Custom permission to send/received bundles using the DTN services -->
<uses-permission android:name="de.tubs.ibr.dtn.permission.DTN_COMMUNICATION" />
<!-- Custom permission to provide DTN services -->
<uses-permission android:name="de.tubs.ibr.dtn.permission.DTN_SERVER" />
<!-- Custom permission to control the DTN services -->
<uses-permission android:name="de.tubs.ibr.dtn.permission.DTN_CONTROL" />
<!-- This app require access to NFC to verify the hash of the security key -->
<uses-permission android:name="android.permission.NFC" />
<!-- This app uses but not require Wi-Fi direct -->
<uses-feature android:name="android.hardware.wifi.direct"
android:required="false" />
<!-- This app uses NFC if available -->
<uses-feature android:name="android.hardware.nfc"
android:required="false" />
<!-- This app uses but not require a touchscreen -->
<uses-feature android:name="android.hardware.touchscreen"
android:required="false" />
<!-- This app uses but not require Wi-Fi -->
<uses-feature android:name="android.hardware.wifi"
android:required="false" />
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="21" />
<application android:allowBackup="false" android:icon="@drawable/ic_launcher"
android:label="@string/app_name" android:theme="@style/AppTheme">
<activity android:name=".daemon.Preferences" android:icon="@drawable/ic_launcher"
android:label="@string/app_name" android:uiOptions="splitActionBarWhenNarrow">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:name=".service.DaemonService"
android:permission="de.tubs.ibr.dtn.permission.DTN_COMMUNICATION"
android:exported="true" android:label="@string/app_name_daemon"
android:process=":dtnd">
<intent-filter>
<action android:name="de.tubs.ibr.dtn.intent.REGISTER" />
<action android:name="de.tubs.ibr.dtn.intent.UNREGISTER" />
<action android:name="de.tubs.ibr.dtn.DTNService" />
<action android:name="de.tubs.ibr.dtn.SecurityService" />
</intent-filter>
</service>
<service android:name=".service.DaemonManager"
android:permission="de.tubs.ibr.dtn.permission.DTN_CONTROL"
android:exported="true" android:process=":dtnd">
<intent-filter>
<action android:name="de.tubs.ibr.dtn.DtnManager" />
</intent-filter>
</service>
<activity android:name="de.tubs.ibr.dtn.daemon.NeighborActivity"
android:icon="@drawable/ic_neighbors" android:label="@string/list_neighbors"
android:parentActivityName=".daemon.Preferences">
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value=".daemon.Preferences" />
</activity>
<activity android:name="de.tubs.ibr.dtn.daemon.api.SelectNeighborActivity"
android:icon="@drawable/ic_neighbors" android:label="@string/select_neighbor"
android:permission="de.tubs.ibr.dtn.permission.DTN_COMMUNICATION"
android:exported="true" />
<activity android:name=".daemon.LogActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:icon="@drawable/ic_log" android:label="@string/list_logs"
android:parentActivityName=".daemon.Preferences">
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value=".daemon.Preferences" />
</activity>
<activity android:name="de.tubs.ibr.dtn.daemon.StatsActivity"
android:icon="@drawable/ic_action_stats" android:label="@string/stats_activity"
android:parentActivityName=".daemon.Preferences">
<meta-data android:name="android.support.PARENT_ACTIVITY"
android:value=".daemon.Preferences" />
</activity>
<activity android:name="de.tubs.ibr.dtn.keyexchange.KeyInformationActivity"
android:icon="@drawable/ic_action_key" android:label="@string/key_information" />
<activity android:name="de.tubs.ibr.dtn.keyexchange.NFCReceiver">
<intent-filter>
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
<service android:name=".keyexchange.KeyExchangeService" />
<receiver android:name=".keyexchange.KeyExchangeReceiver"
android:exported="false" android:label="KeyExchangeReceiver">
<intent-filter>
<action android:name="de.tubs.ibr.dtn.Intent.KEY_EXCHANGE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="de.tubs.ibr.dtn.Intent.NFC_EXCHANGE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<receiver android:name=".service.OnRestartReceiver"
android:enabled="true" android:exported="false" android:label="OnRestartReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
</intent-filter>
</receiver>
<provider
android:name=".stats.StatsContentProvider"
android:authorities="de.tubs.ibr.dtn.contentprovider"
android:enabled="true"
android:exported="false" >
</provider>
</application>
</manifest>