aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/AndroidManifest.xml
blob: 5ca6cf49ca8c4de98c3a66fc1fdbc2768160b1e1 (plain)
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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="github.daneren2005.dsub"
          android:installLocation="internalOnly"
          android:versionCode="36"
          android:versionName="3.7.4">

    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.RECORD_AUDIO"/>
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
	<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
	<uses-permission android:name="android.permission.BLUETOOTH"/>
	<uses-permission android:name="android.permission.READ_LOGS"/>

    <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16"/>

    <supports-screens android:anyDensity="true" android:xlargeScreens="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true"/>

    <application android:label="@string/common.appname" android:icon="@drawable/launch2" android:theme="@style/Theme.DSub.Holo">

        <activity android:name="github.daneren2005.dsub.activity.MainActivity"
                  android:label="DSub"
                  android:configChanges="orientation|keyboardHidden"
                  android:launchMode="standard">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>

        <activity android:name="github.daneren2005.dsub.activity.SelectArtistActivity"
                  android:configChanges="orientation|keyboardHidden"
                  android:launchMode="standard"/>

        <activity android:name="github.daneren2005.dsub.activity.SelectAlbumActivity"
                  android:configChanges="orientation|keyboardHidden"/>

        <activity android:name="github.daneren2005.dsub.activity.SearchActivity"
                  android:label="@string/search.label"
                  android:configChanges="orientation|keyboardHidden"
                  android:launchMode="singleTask"/>

        <activity android:name="github.daneren2005.dsub.activity.SelectPlaylistActivity"
                  android:label="@string/playlist.label"
                  android:configChanges="orientation|keyboardHidden"
                  android:launchMode="standard"/>

        <activity android:name="github.daneren2005.dsub.activity.DownloadActivity"
                  android:configChanges="keyboardHidden"
                  android:launchMode="singleTask"/>

        <activity android:name="github.daneren2005.dsub.activity.SettingsActivity"
                  android:theme="@style/Theme.DSub.Dark"
                  android:configChanges="orientation|keyboardHidden"
                  android:launchMode="singleTask"/>

        <activity android:name="github.daneren2005.dsub.activity.HelpActivity"
                  android:label="@string/help.label"
                  android:launchMode="singleTask"/>

        <activity android:name="github.daneren2005.dsub.activity.LyricsActivity"
                  android:configChanges="orientation|keyboardHidden"
                  android:launchMode="singleTask"/>

        <activity android:name="github.daneren2005.dsub.activity.EqualizerActivity"
                  android:label="@string/equalizer.label"
                  android:configChanges="orientation|keyboardHidden"
                  android:launchMode="singleTask"/>

        <activity android:name="github.daneren2005.dsub.activity.VoiceQueryReceiverActivity"
                  android:launchMode="singleTask">
            <intent-filter>
                <action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

        <activity android:name="github.daneren2005.dsub.activity.QueryReceiverActivity"
                  android:launchMode="singleTask">
            <intent-filter>
                <action android:name="android.intent.action.SEARCH"/>
            </intent-filter>
            <meta-data android:name="android.app.searchable" android:resource="@xml/searchable"/>
        </activity>

        <service android:name="github.daneren2005.dsub.service.DownloadServiceImpl"
                 android:label="Subsonic Download Service"/>

        <receiver android:name="github.daneren2005.dsub.receiver.MediaButtonIntentReceiver">
            <intent-filter android:priority="999">
                <action android:name="android.intent.action.MEDIA_BUTTON" />
            </intent-filter>
        </receiver>

        <receiver android:name="github.daneren2005.dsub.receiver.BluetoothIntentReceiver">
            <intent-filter>
                <action android:name="android.bluetooth.a2dp.action.SINK_STATE_CHANGED"/>
				<action android:name="android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED"/> <!-- API Level 11 -->
				<action android:name="android.bluetooth.device.action.ACL_CONNECTED"/>
				<action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/>
            </intent-filter>
        </receiver>
		
		<receiver android:name="net.sourceforge.subsonic.androidapp.receiver.A2dpIntentReceiver">
			<intent-filter>
				<action android:name="android.music.playstatusrequest"/>
			</intent-filter>
		</receiver>

        <receiver android:name="github.daneren2005.dsub.provider.DSubWidgetProvider" >
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
            </intent-filter>
            <meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info"/>
        </receiver>

        <provider android:name="github.daneren2005.dsub.provider.DSubSearchProvider"
                  android:authorities="github.daneren2005.dsub.provider.DSubSearchProvider"/>

        <meta-data android:name="android.app.default_searchable"
                   android:value="github.daneren2005.dsub.activity.QueryReceiverActivity"/>

    </application>

</manifest>