-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathAndroidManifest.xml
82 lines (70 loc) · 3.07 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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ch.epfl.unison"
android:versionCode="2"
android:versionName="1.1" >
<!-- Requirements. -->
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="14" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.Sherlock">
<!-- Activities. -->
<activity android:name=".ui.PrefsActivity"
android:label="@string/activity_title_prefs" />
<activity android:name=".ui.RatingsActivity"
android:label="@string/activity_title_ratings" />
<activity android:name=".ui.HelpActivity"
android:label="@string/activity_title_help" />
<activity android:name=".ui.GroupsActivity"
android:label="@string/activity_title_groups" />
<activity android:name=".ui.LoginActivity"
android:screenOrientation="portrait"
android:label="@string/app_name"
android:theme="@style/Theme.Sherlock.NoActionBar">
<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.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
</activity>
<activity android:name=".ui.SignupActivity"
android:screenOrientation="portrait"
android:label="@string/activity_title_signup" />
<activity android:name=".ui.MainActivity"
android:screenOrientation="portrait"
android:label="@string/activity_title_main" />
<!-- Services. -->
<service android:name=".music.MusicService"
android:exported="false">
<intent-filter>
<action android:name="ch.epfl.unison.music.action.TOGGLE_PLAYBACK" />
<action android:name="ch.epfl.unison.music.action.PLAY" />
<action android:name="ch.epfl.unison.music.action.PAUSE" />
<action android:name="ch.epfl.unison.music.action.STOP" />
</intent-filter>
<intent-filter>
<action android:name="ch.epfl.unison.music.action.LOAD" />
<!-- This has been copied from the default android music app. -->
<data android:mimeType="audio/*"/>
<data android:mimeType="application/ogg"/>
<data android:mimeType="application/x-ogg"/>
<data android:mimeType="application/itunes"/>
</intent-filter>
</service>
<service android:name=".LibraryService"
android:exported="false">
<intent-filter>
<action android:name="ch.epfl.unison.action.UPDATE" />
<action android:name="ch.epfl.unison.action.TRUNCATE" />
</intent-filter>
</service>
</application>
</manifest>