AndroidManifest.xml 4.8 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"
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
4
5
    android:versionCode="2"
    android:versionName="0.0.2" >
Sébastien Toque's avatar
Sébastien Toque committed
6

7
8
    <uses-sdk
        android:minSdkVersion="7"
Ludovic Fauvet's avatar
Ludovic Fauvet committed
9
        android:targetSdkVersion="15" />
Sébastien Toque's avatar
Sébastien Toque committed
10
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" />

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

            <meta-data
                android:name="android.app.searchable"
                android:resource="@xml/searchable" />
Sébastien Toque's avatar
Sébastien Toque committed
46
47
        </activity>
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
48
49
            android:name=".gui.AboutActivity"
            android:theme="@android:style/Theme.NoTitleBar" />
Sébastien Toque's avatar
Sébastien Toque committed
50
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
51
52
            android:name=".gui.PreferencesActivity"
            android:theme="@android:style/Theme.NoTitleBar" />
Sébastien Toque's avatar
Sébastien Toque committed
53
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
54
55
56
57
58
59
            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
60
        <activity
61
            android:name=".gui.video.VideoListFragment"
62
            android:theme="@style/Theme.VLC"/>
Sébastien Toque's avatar
Sébastien Toque committed
63
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
64
            android:name=".gui.video.MediaInfoActivity"
65
            android:theme="@android:style/Theme.NoTitleBar" />
Sébastien Toque's avatar
Sébastien Toque committed
66
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
67
            android:name=".gui.video.VideoPlayerActivity"
68
            android:configChanges="orientation|screenSize"
Sébastien Toque's avatar
Sébastien Toque committed
69
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
Sébastien Toque's avatar
Sébastien Toque committed
70
71
72
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
Sébastien Toque's avatar
Sébastien Toque committed
73

Sébastien Toque's avatar
Sébastien Toque committed
74
                <data android:mimeType="video/*" />
75
                <data android:mimeType="audio/*" />
76
                <data android:scheme="http" />
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
77
78
79
                <data android:scheme="icyx" />
                <data android:scheme="https" />
                <data android:scheme="rtp" />
80
                <data android:scheme="rtsp" />
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
81
                <data android:scheme="rtmp" />
82
83
                <data android:scheme="file" />
                <data android:scheme="mms" />
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
84
                <data android:scheme="mmsh" />
85
            </intent-filter>
Sébastien Toque's avatar
Sébastien Toque committed
86
87
        </activity>
        <activity
88
            android:name=".gui.audio.AudioBrowserFragment"
Sébastien Toque's avatar
Sébastien Toque committed
89
            android:theme="@android:style/Theme.NoTitleBar" />
Sébastien Toque's avatar
Sébastien Toque committed
90
        <activity
91
            android:name=".gui.audio.AudioListFragment"
92
            android:theme="@style/Theme.VLC"  />
Sébastien Toque's avatar
Sébastien Toque committed
93
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
94
95
            android:name=".gui.audio.AudioActivityGroup"
            android:theme="@android:style/Theme.NoTitleBar" />
Sébastien Toque's avatar
Sébastien Toque committed
96
        <activity
Sébastien Toque's avatar
Sébastien Toque committed
97
98
99
100
101
102
            android:name=".gui.audio.AudioPlayerActivity"
            android:theme="@android:style/Theme.NoTitleBar" />

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

        <receiver android:name="PhoneStateReceiver" >
Sébastien Toque's avatar
Sébastien Toque committed
103
104
105
106
            <intent-filter>
                <action android:name="android.intent.action.PHONE_STATE" />
            </intent-filter>
        </receiver>
Edward Wang's avatar
Edward Wang committed
107
108
109
110
111
112
113
114
115
116
117
        <receiver
            android:name=".widget.VLCAppWidgetProvider"
            android:label="VLC mini player" >
            <intent-filter>
                <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
            </intent-filter>

            <meta-data
                android:name="android.appwidget.provider"
                android:resource="@xml/vlcwidget" />
        </receiver>
Sébastien Toque's avatar
Sébastien Toque committed
118
    </application>
119

120
</manifest>