OSDN Git Service

New action "Add shortcut"
[android-x86/packages-apps-CMFileManager.git] / AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3  ** Copyright (C) 2012 The CyanogenMod Project
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.cyanogenmod.explorer"
19   android:versionCode="100"
20   android:versionName="1.0.0">
21
22   <original-package android:name="com.cyanogenmod.explorer" />
23
24   <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="16" />
25
26   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
27   <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
28   <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />
29   <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
30
31   <application
32     android:name="ExplorerApplication"
33     android:description="@string/app_description"
34     android:icon="@drawable/ic_launcher"
35     android:label="@string/app_name"
36     android:largeHeap="true"
37     android:theme="@style/Explorer.Theme.Holo.Ligth" >
38
39     <meta-data
40       android:name="android.app.default_searchable"
41       android:value=".activities.NavigationActivity" />
42
43     <provider
44       android:name=".providers.RecentSearchesContentProvider"
45       android:authorities="com.cyanogenmod.explorer.providers.recentsearches"
46       android:exported="false" />
47
48     <provider
49       android:name=".providers.BookmarksContentProvider"
50       android:authorities="com.cyanogenmod.explorer.providers.bookmarks"
51       android:exported="false" />
52
53     <activity
54       android:name=".activities.NavigationActivity"
55       android:label="@string/app_name"
56       android:launchMode="singleTop"
57       android:uiOptions="none"
58       android:windowSoftInputMode="adjustNothing"
59       android:exported="true">
60       <intent-filter>
61         <action android:name="android.intent.action.MAIN" />
62         <category android:name="android.intent.category.LAUNCHER" />
63         <category android:name="android.intent.category.DEFAULT" />
64       </intent-filter>
65       <intent-filter>
66         <action android:name="android.intent.action.SEARCH" />
67         <category android:name="android.intent.category.DEFAULT" />
68       </intent-filter>
69       <meta-data
70         android:name="android.app.searchable"
71         android:resource="@xml/searchable" />
72     </activity>
73
74     <activity
75       android:name=".activities.BookmarksActivity"
76       android:label="@string/bookmarks"
77       android:uiOptions="none"
78       android:windowSoftInputMode="adjustNothing"
79       android:exported="false">
80     </activity>
81
82     <activity
83       android:name=".activities.HistoryActivity"
84       android:label="@string/history"
85       android:uiOptions="none"
86       android:windowSoftInputMode="adjustNothing"
87       android:exported="false">
88     </activity>
89
90     <activity
91       android:name=".activities.SearchActivity"
92       android:label="@string/search"
93       android:launchMode="singleTop"
94       android:uiOptions="none"
95       android:windowSoftInputMode="adjustNothing"
96       android:exported="false">
97     </activity>
98
99     <activity
100       android:name=".activities.PickerActivity"
101       android:label="@string/picker"
102       android:uiOptions="none"
103       android:theme="@style/Explorer.Theme.Holo.Ligth.Overlay"
104       android:exported="true">
105       <intent-filter>
106         <action android:name="android.intent.action.GET_CONTENT" />
107         <category android:name="android.intent.category.OPENABLE" />
108         <category android:name="android.intent.category.DEFAULT" />
109         <data android:mimeType="*/*" />
110       </intent-filter>
111     </activity>
112
113     <activity
114       android:name=".activities.preferences.SettingsPreferences"
115       android:label="@string/pref"
116       android:icon="@drawable/ic_launcher_settings"
117       android:exported="false">
118       <intent-filter>
119          <category android:name="android.intent.category.PREFERENCE" />
120       </intent-filter>
121     </activity>
122
123     <activity
124       android:name=".activities.ShortcutActivity"
125       android:label="@string/app_name"
126       android:uiOptions="none"
127       android:theme="@style/Explorer.Theme.Holo.Ligth.Overlay"
128       android:exported="true">
129       <intent-filter>
130         <action android:name="android.intent.action.VIEW" />
131       </intent-filter>
132     </activity>
133
134   </application>
135
136 </manifest>