-
Notifications
You must be signed in to change notification settings - Fork 44
/
AndroidManifest.xml
347 lines (309 loc) · 13.8 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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
* ServeStream: A HTTP stream browser/player for Android
* Copyright 2014 William Seemann
*
* 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.
*/
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.sourceforge.servestream"
android:versionName="0.6.8"
android:versionCode="98"
android:installLocation="auto" >
<uses-sdk
android:targetSdkVersion="19"
android:minSdkVersion="8" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- In-app billing permission -->
<uses-permission android:name="com.android.vending.BILLING" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:allowBackup="true"
android:backupAgent=".service.BackupAgent"
android:killAfterRestore="true"
android:theme="@style/Theme.ServeStream.Dark" >
<meta-data
android:name="com.google.android.backup.api_key"
android:value="AEdPqrEAAAAIWcqt9c_ET5W0EpBB9ZCQGbBhfrOetXL6t6Cdwg" />
<provider
android:name=".provider.MediaProvider"
android:authorities="net.sourceforge.servestream.provider.Media"
android:exported="false" />
<provider
android:name=".alarm.AlarmProvider"
android:authorities="net.sourceforge.servestream"
android:exported="false" />
<activity
android:name=".activity.MainActivity"
android:theme="@style/Theme.ServeStream.Dark"
android:label="@string/play_with_label"
android:launchMode="singleTop" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="net.sourceforge.servestream/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http" />
<data android:host="*" />
<data android:mimeType="audio/*" />
<data android:mimeType="video/*" />
<data android:mimeType="audio/x-mpegurl" />
<data android:mimeType="audio/x-scpls" />
<data android:mimeType="video/x-ms-asf" />
<data android:mimeType="application/xspf+xml" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http" />
<data android:host="*" />
<data android:pathPattern=".*\\.m3u" />
<data android:pathPattern=".*\\.pls" />
<data android:pathPattern=".*\\.asx" />
<data android:pathPattern=".*\\.xspf" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:mimeType="audio/x-mpegurl" />
<data android:mimeType="audio/x-scpls" />
<data android:mimeType="video/x-ms-asf" />
<data android:mimeType="application/xspf+xml" />
</intent-filter>
<meta-data
android:name="android.app.default_searchable"
android:value=".activity.SearchableActivity" />
</activity>
<activity
android:name=".activity.AboutActivity"
android:theme="@style/Theme.ServeStream.Dark"
android:label="@string/about_pref" />
<activity
android:name=".activity.AddUrlActivity"
android:theme="@style/Theme.ServeStream.Dark"
android:configChanges="keyboardHidden|orientation"
android:label="@string/add_new_url_label"
android:windowSoftInputMode="adjustResize"
android:launchMode="singleTop" >
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http" />
<data android:host="*" />
<data android:mimeType="audio/*" />
<data android:mimeType="video/*" />
<data android:mimeType="audio/x-mpegurl" />
<data android:mimeType="audio/x-scpls" />
<data android:mimeType="video/x-ms-asf" />
<data android:mimeType="application/xspf+xml" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http" />
<data android:host="*" />
<data android:pathPattern=".*\\.m3u" />
<data android:pathPattern=".*\\.pls" />
<data android:pathPattern=".*\\.asx" />
<data android:pathPattern=".*\\.xspf" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:mimeType="audio/x-mpegurl" />
<data android:mimeType="audio/x-scpls" />
<data android:mimeType="video/x-ms-asf" />
<data android:mimeType="application/xspf+xml" />
</intent-filter>
</activity>
<activity
android:name=".activity.BluetoothOptionsActivity"
android:theme="@style/Theme.ServeStream.Dark"
android:label="@string/pref_bluetooth_options" />
<activity
android:name=".activity.NowPlayingActivity"
android:theme="@style/Theme.ServeStream.Dark"
android:label="@string/now_playing_label" />
<activity
android:name=".activity.OrganizeUrlsActivity"
android:theme="@style/Theme.ServeStream.Dark"
android:configChanges="orientation"
android:label="@string/organize_urls_label" />
<activity
android:name=".activity.SearchableActivity"
android:theme="@style/Theme.ServeStream.Dark"
android:launchMode="singleTop" >
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="@xml/searchable" />
</activity>
<activity
android:name=".activity.SettingsActivity"
android:label="@string/settings_label" />
<activity
android:name=".activity.ShortcutActivity"
android:theme="@style/Theme.ServeStream.Dark" >
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".activity.UriEditorActivity" />
<service
android:name=".service.MediaPlaybackService"
android:description="@string/media_service_desc" />
<activity
android:name=".activity.MediaPlayerActivity"
android:theme="@style/Theme.ServeStream.Dark"
android:label="@string/media_player_label"
android:launchMode="singleTop"
android:exported="false" >
<intent-filter>
<action android:name="net.sourceforge.servestream.PLAYBACK_VIEWER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<receiver
android:name=".receiver.MediaButtonIntentReceiver" >
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
<action android:name="android.media.AUDIO_BECOMING_NOISY" />
</intent-filter>
</receiver>
<receiver
android:name=".service.AppWidgetOneProvider" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_one" />
</receiver>
<receiver
android:name=".receiver.SimpleLastfmScrobblerReceiver"
android:exported="false" >
<intent-filter>
<action android:name="net.sourceforge.servestream.playbackstarted" />
<action android:name="net.sourceforge.servestream.playstatechanged" />
<action android:name="net.sourceforge.servestream.playbackcomplete" />
<action android:name="net.sourceforge.servestream.metachanged" />
</intent-filter>
</receiver>
<receiver
android:name=".receiver.ScrobbleDroidReceiver"
android:exported="false" >
<intent-filter>
<action android:name="net.sourceforge.servestream.playbackstarted" />
<action android:name="net.sourceforge.servestream.playstatechanged" />
<action android:name="net.sourceforge.servestream.playbackcomplete" />
<action android:name="net.sourceforge.servestream.metachanged" />
</intent-filter>
</receiver>
<receiver
android:name=".receiver.BluetoothReceiver"
android:exported="false" >
<intent-filter>
<action android:name="android.bluetooth.device.action.ACL_CONNECTED" />
<action android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
</intent-filter>
</receiver>
<!-- Alarm Activities -->
<activity
android:name=".activity.AlarmClockActivity"
android:theme="@style/Theme.ServeStream.Dark"
android:label="@string/alarm_clock_label"
android:excludeFromRecents="true"
android:configChanges="orientation|keyboardHidden|keyboard|navigation"
android:exported="false" />
<activity
android:name=".activity.SetAlarmActivity"
android:label="@string/set_alarm_label"
android:configChanges="orientation|keyboardHidden|keyboard|navigation" />
<activity
android:name=".alarm.AlarmAlert"
android:excludeFromRecents="true"
android:launchMode="singleInstance"
android:taskAffinity=""
android:configChanges="orientation|keyboardHidden|keyboard|navigation"/>
<!-- This activity is basically the same as AlarmAlert but with a more
generic theme. It also shows as full screen (with status bar) but
with the wallpaper background. -->
<activity
android:name=".alarm.AlarmAlertFullScreen"
android:excludeFromRecents="true"
android:theme="@android:style/Theme.Wallpaper.NoTitleBar"
android:launchMode="singleInstance"
android:taskAffinity=""
android:configChanges="orientation|keyboardHidden|keyboard|navigation" />
<receiver
android:name=".alarm.AlarmReceiver"
android:exported="false" >
<intent-filter>
<action android:name="net.sourceforge.servestream.ALARM_ALERT" />
<action android:name="net.sourceforge.servestream.ALARM_KILLED" />
<action android:name="net.sourceforge.servestream.CANCEL_SNOOZE" />
</intent-filter>
</receiver>
<!-- This service receives the same intent as AlarmReceiver but it does
not respond to the same broadcast. The AlarmReceiver will receive
the alert broadcast and will start this service with the same
intent. The service plays the alarm alert and vibrates the device.
This allows the alert to continue playing even if another activity
causes the AlarmAlert activity to pause. -->
<service
android:name=".alarm.AlarmKlaxon"
android:description="@string/alarm_klaxon_service_desc"
android:exported="false" >
<intent-filter>
<action android:name="net.sourceforge.servestream.ALARM_ALERT" />
</intent-filter>
</service>
<!-- End Alarm Activities -->
</application>
</manifest>