-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathAndroidManifest.xml
69 lines (60 loc) · 2.87 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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="eu.codebits.plasmas"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="16" />
<application
android:clearTaskOnLaunch="true"
android:finishOnTaskLaunch="true"
android:allowBackup="true"
android:launchMode="singleTop"
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<!-- Our webview activity, which is launched from the other -->
<activity
android:name=".FullScreenWebViewActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/app_name"
android:theme="@style/FullScreenTheme" >
</activity>
<!-- This is the launcher activity - a stub that starts the polling service -->
<activity
android:name=".InvisibleActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar">
<intent-filter>
<action android:name="eu.codebits.plasmas.action.DisplayItem"/>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- this polls the server for updates -->
<service android:name=".services.PollingService"/>
<!-- this handles each item and controls the webview -->
<service android:name=".services.PlayerService"/>
<!-- this handles playlist updates -->
<receiver android:name=".receivers.PlayerReceiver">
<intent-filter>
<action android:name="eu.codebits.plasmas.action.PlaylistUpdate"/>
</intent-filter>
</receiver>
<receiver android:name=".receivers.StartingReceiver">
<intent-filter>
<action android:name="eu.codebits.plasmas.action.StartPolling"/>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
</application>
</manifest>