switch to alsa.omap3 module
[android_pandora.git] / apps / oi-filemanager / FileManager / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <!-- \r
3  * Copyright (C) 2007-2012 OpenIntents.org\r
4  *\r
5  * Licensed under the Apache License, Version 2.0 (the "License");\r
6  * you may not use this file except in compliance with the License.\r
7  * You may obtain a copy of the License at\r
8  *\r
9  *      http://www.apache.org/licenses/LICENSE-2.0\r
10  *\r
11  * Unless required by applicable law or agreed to in writing, software\r
12  * distributed under the License is distributed on an "AS IS" BASIS,\r
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
14  * See the License for the specific language governing permissions and\r
15  * limitations under the License.\r
16  -->
17 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
18     package="org.openintents.filemanager"\r
19     android:installLocation="auto"\r
20         android:versionName="1.2"\r
21         android:versionCode="20">\r
22         <!-- History: \r
23          * * * UPDATE ATRACKDOG METADATA BELOW FOR RELEASE CANDIDATES * * *\r
24         [20] 1.2: 2012-02-18\r
25         [19] 1.2-rc2: 2012-02-04\r
26         [18] 1.2-rc1: 2012-01-26\r
27         [17] 1.1.6: 2011-06-02\r
28         [16] 1.1.5: 2011-05-28\r
29         [14] 1.1.4: 2011-02-05\r
30         [9] 1.1.3: 2010-05-29\r
31         [8] 1.1.2: 2010-05-29\r
32         [7] 1.1.1: 2009-12-26\r
33         [5] 1.1.0: 2009-10-30\r
34         [3] 1.0.2: 2009-10-15\r
35         [2] 1.0.1: 2009-01-16 
36         [1] 1.0.0: 2008-12-10
37         -->
38         
39         <uses-sdk android:minSdkVersion="2"
40             android:targetSdkVersion="15" />\r
41         <!-- If targetSdkVersion is increased from 4 to 5 or higher, \r
42                 the following needs to be adjusted:\r
43              * FileManagerActivity: onKeyDown(): New way how "back" key is handled.\r
44             NOTE: Tested on target=9, and it works both on Android 2.3 and Android 1.6. -->
45      
46     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>\r
47             \r
48     <uses-feature android:name="android.hardware.touchscreen" android:required="false"/>\r
49     
50     <application android:icon="@drawable/ic_launcher_folder" android:label="@string/app_name">
51     \r
52         <!-- aTrackDog metadata -->\r
53         <meta-data android:name="com.a0soft.gphone.aTrackDog.testVersion"\r
54            android:value="19" />\r
55            \r
56                 <meta-data android:name="org.openintents.about"\r
57                    android:resource="@xml/about" />\r
58                        
59         <activity android:name=".FileManagerActivity" android:label="@string/app_name"\r
60                        android:configChanges="orientation" >
61             <intent-filter>
62                 <action android:name="android.intent.action.MAIN" />
63                 <category android:name="android.intent.category.LAUNCHER" />
64             </intent-filter>\r
65                         <intent-filter>\r
66                           <action android:name="android.intent.action.VIEW" />\r
67                           <category android:name="android.intent.category.DEFAULT" />\r
68                           <data android:scheme="file" />\r
69                         </intent-filter>\r
70             <intent-filter>\r
71                 <action android:name="org.openintents.action.PICK_FILE"/>\r
72                 <category android:name="android.intent.category.DEFAULT" />\r
73                 <data android:scheme="file" />\r
74                 <data android:mimeType="*/*" />\r
75             </intent-filter>\r
76             <intent-filter>\r
77                 <action android:name="org.openintents.action.PICK_FILE"/>\r
78                 <category android:name="android.intent.category.DEFAULT" />\r
79                 <data android:scheme="file" />\r
80             </intent-filter>\r
81             <intent-filter>\r
82                 <action android:name="org.openintents.action.PICK_FILE"/>\r
83                 <category android:name="android.intent.category.DEFAULT" />\r
84             </intent-filter>\r
85             <intent-filter>\r
86                 <action android:name="org.openintents.action.PICK_DIRECTORY"/>\r
87                 <category android:name="android.intent.category.DEFAULT" />\r
88                 <data android:scheme="file" />\r
89             </intent-filter>\r
90             <intent-filter>\r
91                 <action android:name="org.openintents.action.PICK_DIRECTORY"/>\r
92                 <category android:name="android.intent.category.DEFAULT" />\r
93             </intent-filter>\r
94             <intent-filter>\r
95                                 <action android:name="android.intent.action.GET_CONTENT" />\r
96                                 <data android:mimeType="*/*" />\r
97                 <category android:name="android.intent.category.DEFAULT" />\r
98                 <category android:name="android.intent.category.OPENABLE" />\r
99             </intent-filter>\r
100 \r
101                     <!-- Filter for a multi select feature -->\r
102                         <intent-filter>\r
103                 <action android:name="org.openintents.action.MULTI_SELECT"/>\r
104                 <category android:name="android.intent.category.DEFAULT" />\r
105                 <data android:scheme="file" />\r
106             </intent-filter>\r
107         </activity>\r
108         \r
109         <activity android:name=".PreferenceActivity" android:label="@string/settings" />\r
110         
111         <!-- Filters for the Save as feature -->\r
112         <activity android:name=".SaveAsActivity" android:label="Save as">\r
113             <!-- Save as a file: scheme (e.g. After downloading attachment in GMail -->\r
114             <!-- ** DEACTIVATED FOR NOW, because it interferes with many commands **\r
115             <intent-filter>\r
116                         <action android:name="android.intent.action.VIEW" />\r
117                         <category android:name="android.intent.category.DEFAULT" />\r
118                         <category android:name="android.intent.category.BROWSABLE" />\r
119                         <data android:scheme="file" android:host="*" android:mimeType="*/*"/>\r
120                 </intent-filter>\r
121                  -->\r
122             <!-- Save as a content: scheme with CATHEGORY_OPENABLE - the right way -->\r
123             <intent-filter>\r
124                         <action android:name="android.intent.action.VIEW" />\r
125                         <category android:name="android.intent.category.OPENABLE" />\r
126                         <data android:scheme="content" android:mimeType="*/*"/>\r
127                 </intent-filter>\r
128             <!-- Special intent for GMail attachments. GMail doesn't use CATEGORY_OPENABLE,\r
129                  although it's possible to use ContentResolver.openFileReader().\r
130                  For further applications like GMail, just copy following five lines and change "gmail-ls"\r
131                  to something else. You will also have to do some changes in SaveAsActivity.java -->\r
132             <!-- ** DEACTIVATED FOR NOW, because it interferes with many commands **\r
133             <intent-filter>\r
134                         <action android:name="android.intent.action.VIEW" />\r
135                         <category android:name="android.intent.category.DEFAULT" />\r
136                         <data android:scheme="content" android:mimeType="*/*" android:host="gmail-ls"/>\r
137                 </intent-filter>\r
138                  -->\r
139                 </activity>\r
140                 <provider\r
141                     android:name=".BookmarksProvider"\r
142                     android:authorities="org.openintents.filemanager.bookmarks"></provider>\r
143                 \r
144     <provider android:name=".FileManagerProvider" android:authorities="org.openintents.filemanager"></provider>\r
145     \r
146                 <!-- Activities from OI Distribution Library -->\r
147         <activity android:name="org.openintents.filemanager.EulaActivity" />\r
148         <activity android:name="org.openintents.filemanager.NewVersionActivity" />
149 </application>
150 </manifest>