AndroidManifest.xml 6.02 KB
Newer Older
1
2
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Sébastien Toque's avatar
Sébastien Toque committed
3
    package="org.videolan.vlc"
4
    android:installLocation="auto"
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
5
6
    android:versionCode="4"
    android:versionName="0.0.4" >
Sébastien Toque's avatar
Sébastien Toque committed
7

8
9
    <uses-sdk
        android:minSdkVersion="7"
Ludovic Fauvet's avatar
Ludovic Fauvet committed
10
        android:targetSdkVersion="15" />
Sébastien Toque's avatar
Sébastien Toque committed
11
12
13
14
15
16

    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.READ_LOGS" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Alexandre Perraud's avatar
Alexandre Perraud committed
17
    <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
Sébastien Toque's avatar
Sébastien Toque committed
18

Sébastien Toque's avatar
Sébastien Toque committed
19
    <application
20
        android:name="org.videolan.vlc.VLCApplication"
21
        android:debuggable="true"
Sébastien Toque's avatar
Sébastien Toque committed
22
        android:icon="@drawable/icon"
23
        android:logo="@drawable/header_logo"
24
        android:label="@string/app_name"
25
        android:theme="@style/Theme.VLC"
26
        android:hardwareAccelerated="true" >
Sébastien Toque's avatar
Sébastien Toque committed
27
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
28
            android:name=".gui.MainActivity"
29
            android:configChanges="orientation|screenSize"
Sébastien Toque's avatar
Sébastien Toque committed
30
            android:icon="@drawable/icon"
Sébastien Toque's avatar
Sébastien Toque committed
31
            android:label="@string/app_name"
32
            android:theme="@style/Theme.VLC" >
Sébastien Toque's avatar
Sébastien Toque committed
33
34
35
36
37
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
38
39
40
        <activity
            android:name=".gui.CompatErrorActivity"
            android:theme="@android:style/Theme.NoTitleBar" />
Sébastien Toque's avatar
Sébastien Toque committed
41
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
42
            android:name=".gui.SearchActivity"
43
            android:configChanges="orientation|screenSize"
44
45
            android:theme="@android:style/Theme.NoTitleBar"
            android:exported="false" >
Sébastien Toque's avatar
Sébastien Toque committed
46
47
48
            <intent-filter>
                <action android:name="android.intent.action.SEARCH" />
            </intent-filter>
Sébastien Toque's avatar
Sébastien Toque committed
49
50
51
52

            <meta-data
                android:name="android.app.searchable"
                android:resource="@xml/searchable" />
Sébastien Toque's avatar
Sébastien Toque committed
53
54
        </activity>
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
55
56
            android:name=".gui.AboutActivity"
            android:theme="@android:style/Theme.NoTitleBar" />
Sébastien Toque's avatar
Sébastien Toque committed
57
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
58
59
            android:name=".gui.PreferencesActivity"
            android:theme="@android:style/Theme.NoTitleBar" />
Sébastien Toque's avatar
Sébastien Toque committed
60
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
61
62
63
64
65
66
            android:name=".gui.BrowserActivity"
            android:label="@string/mediafiles"
            android:theme="@android:style/Theme" />
        <activity
            android:name=".gui.video.VideoActivityGroup"
            android:theme="@android:style/Theme.NoTitleBar" />
Sébastien Toque's avatar
Sébastien Toque committed
67
        <activity
68
            android:name=".gui.video.VideoListFragment"
69
            android:theme="@style/Theme.VLC"/>
Sébastien Toque's avatar
Sébastien Toque committed
70
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
71
            android:name=".gui.video.MediaInfoActivity"
72
            android:theme="@android:style/Theme.NoTitleBar" />
Sébastien Toque's avatar
Sébastien Toque committed
73
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
74
            android:name=".gui.video.VideoPlayerActivity"
75
            android:configChanges="orientation|screenSize"
Sébastien Toque's avatar
Sébastien Toque committed
76
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
Sébastien Toque's avatar
Sébastien Toque committed
77
78
79
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
Edward Wang's avatar
Edward Wang committed
80
                <category android:name="android.intent.category.BROWSABLE" />
Sébastien Toque's avatar
Sébastien Toque committed
81

Sébastien Toque's avatar
Sébastien Toque committed
82
                <data android:mimeType="video/*" />
83
                <data android:mimeType="audio/*" />
84
85
86
87
88
89
90
91
92
93
                <data android:scheme="http" android:mimeType="video/*" />
                <data android:scheme="http" android:mimeType="audio/*" />
                <data android:scheme="https" android:mimeType="video/*" />
                <data android:scheme="https" android:mimeType="audio/*" />
                <data android:scheme="file" android:mimeType="video/*" />
                <data android:scheme="file" android:mimeType="audio/*" />
                <data android:scheme="udp" android:mimeType="video/*" />
                <data android:scheme="udp" android:mimeType="audio/*" />
                <data android:scheme="ftp" android:mimeType="video/*" />
                <data android:scheme="ftp" android:mimeType="audio/*" />
94
95
96
97
98
99
100

                <data android:scheme="rtsp" />
                <data android:scheme="rtmp" />
                <data android:scheme="rtp" />
                <data android:scheme="mms" />
                <data android:scheme="mmsh" />
                <data android:scheme="icyx" />
101
            </intent-filter>
Sébastien Toque's avatar
Sébastien Toque committed
102
103
        </activity>
        <activity
104
            android:name=".gui.audio.AudioBrowserFragment"
Sébastien Toque's avatar
Sébastien Toque committed
105
            android:theme="@android:style/Theme.NoTitleBar" />
Sébastien Toque's avatar
Sébastien Toque committed
106
        <activity
107
            android:name=".gui.audio.AudioListFragment"
108
            android:theme="@style/Theme.VLC"  />
Sébastien Toque's avatar
Sébastien Toque committed
109
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
110
111
            android:name=".gui.audio.AudioActivityGroup"
            android:theme="@android:style/Theme.NoTitleBar" />
Sébastien Toque's avatar
Sébastien Toque committed
112
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
113
114
115
116
117
            android:name=".gui.audio.AudioPlayerActivity"
            android:theme="@android:style/Theme.NoTitleBar" />

        <service android:name=".AudioService" />

118
        <receiver
119
            android:name="PhoneStateReceiver">
Sébastien Toque's avatar
Sébastien Toque committed
120
121
122
123
            <intent-filter>
                <action android:name="android.intent.action.PHONE_STATE" />
            </intent-filter>
        </receiver>
Edward Wang's avatar
Edward Wang committed
124
125
        <receiver
            android:name=".widget.VLCAppWidgetProvider"
126
127
            android:label="VLC mini player"
            android:exported="false">
Edward Wang's avatar
Edward Wang committed
128
129
130
131
132
133
134
135
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
            </intent-filter>

            <meta-data
                android:name="android.appwidget.provider"
                android:resource="@xml/vlcwidget" />
        </receiver>
136
137
138
139
140
        <receiver android:name="RemoteControlClientReceiver">
            <intent-filter>
                <action android:name="android.intent.action.MEDIA_BUTTON" />
            </intent-filter>
        </receiver>
Sébastien Toque's avatar
Sébastien Toque committed
141
    </application>
142

143
</manifest>