OSDN Git Service

Bump version number to 1.1.
[android-x86/packages-apps-Eleven.git] / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   Copyright (C) 2012 Andrew Neal
4  
5   Licensed under the Apache License, Version 2.0 (the "License");
6   you may not use this file except in compliance with the License.
7   You may obtain a copy of the License at
8  
9        http://www.apache.org/licenses/LICENSE-2.0
10  
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16 -->
17 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
18     package="com.andrew.apollo"
19     android:versionCode="2"
20     android:versionName="1.1" >
21
22     <!-- ICS to Jelly Bean -->
23     <uses-sdk
24         android:minSdkVersion="14"
25         android:targetSdkVersion="17" />
26
27     <!-- Used for caching and creating new playlists -->
28     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
29     <!-- Used to check for a network connection -->
30     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
31     <!-- Used to download images -->
32     <uses-permission android:name="android.permission.INTERNET" />
33     <!-- Used to keep the service running when the phone sleeps -->
34     <uses-permission android:name="android.permission.WAKE_LOCK" />
35     <!-- The main service uses a sticky broadcast -->
36     <uses-permission android:name="android.permission.BROADCAST_STICKY" />
37     <!-- Lower or raise the music based on the phone state -->
38     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
39     <!-- Used to set the devices's ringtone -->
40     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
41     <!-- Used to create launcher shortcuts -->
42     <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
43     <!-- Used to check if the app is in the background -->
44     <uses-permission android:name="android.permission.GET_TASKS" />
45
46     <application
47         android:name=".ApolloApplication"
48         android:allowBackup="true"
49         android:allowTaskReparenting="true"
50         android:hardwareAccelerated="@bool/config_hardwareAccelerated"
51         android:icon="@drawable/ic_launcher"
52         android:label="@string/app_name"
53         android:largeHeap="@bool/config_largeHeap"
54         android:taskAffinity="com.andrew.apollo.task" >
55
56         <!-- Searchable -->
57         <meta-data
58             android:name="android.app.default_searchable"
59             android:value=".ui.activities.SearchActivity" />
60         <!-- Main activity -->
61         <activity
62             android:name=".ui.activities.HomeActivity"
63             android:windowSoftInputMode="adjustPan" >
64             <intent-filter>
65                 <action android:name="android.intent.action.MAIN" />
66                 <action android:name="android.intent.action.MUSIC_PLAYER" />
67
68                 <category android:name="android.intent.category.LAUNCHER" />
69                 <category android:name="android.intent.category.APP_MUSIC" />
70                 <category android:name="android.intent.category.DEFAULT" />
71             </intent-filter>
72         </activity>
73         <!-- Now playing -->
74         <activity
75             android:name=".ui.activities.AudioPlayerActivity"
76             android:clearTaskOnLaunch="true"
77             android:exported="true"
78             android:launchMode="singleTask"
79             android:windowSoftInputMode="adjustPan" >
80             <intent-filter>
81                 <action android:name="android.intent.action.VIEW" />
82
83                 <category android:name="android.intent.category.DEFAULT" />
84
85                 <data android:scheme="content" />
86                 <data android:host="media" />
87                 <data android:mimeType="audio/*" />
88                 <data android:mimeType="application/ogg" />
89                 <data android:mimeType="application/x-ogg" />
90                 <data android:mimeType="application/itunes" />
91             </intent-filter>
92             <intent-filter>
93                 <action android:name="android.intent.action.VIEW" />
94
95                 <category android:name="android.intent.category.DEFAULT" />
96
97                 <data android:scheme="file" />
98                 <data android:mimeType="audio/*" />
99                 <data android:mimeType="application/ogg" />
100                 <data android:mimeType="application/x-ogg" />
101                 <data android:mimeType="application/itunes" />
102             </intent-filter>
103             <intent-filter>
104                 <action android:name="android.intent.action.VIEW" />
105
106                 <category android:name="android.intent.category.DEFAULT" />
107                 <category android:name="android.intent.category.BROWSABLE" />
108
109                 <data android:scheme="http" />
110                 <data android:mimeType="audio/*" />
111                 <data android:mimeType="application/ogg" />
112                 <data android:mimeType="application/x-ogg" />
113                 <data android:mimeType="application/itunes" />
114             </intent-filter>
115             <intent-filter>
116                 <action android:name="com.andrew.apollo.AUDIO_PLAYER" />
117
118                 <category android:name="android.intent.category.DEFAULT" />
119             </intent-filter>
120         </activity>
121
122         <!-- Profile phone Activity -->
123         <activity
124             android:name=".ui.activities.ProfileActivity"
125             android:excludeFromRecents="true" />
126         <!-- Shortcut launcher Activity -->
127         <activity
128             android:name=".ui.activities.ShortcutActivity"
129             android:excludeFromRecents="true"
130             android:exported="true"
131             android:theme="@style/Theme.Transparent" >
132             <intent-filter>
133                 <action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />
134
135                 <category android:name="android.intent.category.DEFAULT" />
136             </intent-filter>
137         </activity>
138         <!-- Search interface -->
139         <activity
140             android:name=".ui.activities.SearchActivity"
141             android:exported="true" >
142             <intent-filter>
143                 <action android:name="android.intent.action.SEARCH" />
144                 <action android:name="android.intent.action.MEDIA_SEARCH" />
145
146                 <category android:name="android.intent.category.DEFAULT" />
147             </intent-filter>
148
149             <meta-data
150                 android:name="android.app.searchable"
151                 android:resource="@xml/searchable" />
152         </activity>
153         <!-- Used to set options -->
154         <activity
155             android:name=".ui.activities.SettingsActivity"
156             android:label="@string/menu_settings"
157             android:theme="@style/Apollo.Theme.Dark" />
158         <!-- Themes Activity -->
159         <activity
160             android:name=".ui.activities.ThemesActivity"
161             android:excludeFromRecents="true" />
162         <!-- 4x1 App Widget -->
163         <receiver
164             android:name="com.andrew.apollo.appwidgets.AppWidgetSmall"
165             android:exported="false"
166             android:label="@string/app_widget_small" >
167             <intent-filter>
168                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
169             </intent-filter>
170
171             <meta-data
172                 android:name="android.appwidget.provider"
173                 android:resource="@xml/app_widget_small" />
174         </receiver>
175         <!-- 4x2  App Widget -->
176         <receiver
177             android:name="com.andrew.apollo.appwidgets.AppWidgetLarge"
178             android:exported="false"
179             android:label="@string/app_widget_large" >
180             <intent-filter>
181                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
182             </intent-filter>
183
184             <meta-data
185                 android:name="android.appwidget.provider"
186                 android:resource="@xml/app_widget_large" />
187         </receiver>
188         <!-- 4x2 alternate App Widget -->
189         <receiver
190             android:name="com.andrew.apollo.appwidgets.AppWidgetLargeAlternate"
191             android:exported="false"
192             android:label="@string/app_widget_large_alt" >
193             <intent-filter>
194                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
195             </intent-filter>
196
197             <meta-data
198                 android:name="android.appwidget.provider"
199                 android:resource="@xml/app_widget_large_alternate" />
200         </receiver>
201         <!-- Resizable recently listened App Widget -->
202         <receiver
203             android:name="com.andrew.apollo.appwidgets.RecentWidgetProvider"
204             android:exported="false"
205             android:label="@string/app_widget_recent" >
206             <intent-filter>
207                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
208             </intent-filter>
209             <!-- This specifies the widget provider info -->
210             <meta-data
211                 android:name="android.appwidget.provider"
212                 android:resource="@xml/app_widget_recents" />
213         </receiver>
214         <!-- The service serving the RemoteViews to the recently listened App Widget -->
215         <service
216             android:name="com.andrew.apollo.appwidgets.RecentWidgetService"
217             android:permission="android.permission.BIND_REMOTEVIEWS" />
218         <!-- Media button receiver -->
219         <receiver android:name=".MediaButtonIntentReceiver" >
220             <intent-filter>
221                 <action android:name="android.intent.action.MEDIA_BUTTON" />
222                 <action android:name="android.media.AUDIO_BECOMING_NOISY" />
223             </intent-filter>
224         </receiver>
225         <!-- Music service -->
226         <service
227             android:name=".MusicPlaybackService"
228             android:label="@string/app_name"
229             android:process=":main" />
230     </application>
231
232 </manifest>