2 /* //device/apps/Browser/AndroidManifest.xml
4 ** Copyright 2006, The Android Open Source Project
6 ** Licensed under the Apache License, Version 2.0 (the "License");
7 ** you may not use this file except in compliance with the License.
8 ** You may obtain a copy of the License at
10 ** http://www.apache.org/licenses/LICENSE-2.0
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
20 <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.browser">
22 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
23 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
24 <uses-permission android:name="android.permission.ACCESS_DOWNLOAD_MANAGER"/>
25 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
26 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
27 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
28 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
29 <uses-permission android:name="android.permission.INTERNET" />
30 <uses-permission android:name="android.permission.WAKE_LOCK"/>
31 <uses-permission android:name="android.permission.READ_HISTORY_BOOKMARKS"/>
32 <uses-permission android:name="android.permission.WRITE_HISTORY_BOOKMARKS"/>
34 <supports-density android:density="160" />
35 <supports-density android:density="240" />
38 <application android:name="Browser"
39 android:label="@string/application_name"
40 android:icon="@drawable/ic_launcher_browser"
41 android:taskAffinity="android.task.browser" >
43 <provider android:name="BrowserProvider"
44 android:authorities="browser"
45 android:multiprocess="true"
46 android:readPermission="android.permission.READ_HISTORY_BOOKMARKS"
47 android:writePermission="android.permission.WRITE_HISTORY_BOOKMARKS"/>
48 <activity android:name="BrowserActivity"
49 android:label="@string/application_name"
50 android:launchMode="singleTask"
51 android:alwaysRetainTaskState="true"
52 android:configChanges="orientation|keyboardHidden"
53 android:theme="@style/BrowserTheme" >
54 <!-- For these schemes were not particular MIME type has been
55 supplied, we are a good candidate. -->
57 <action android:name="android.intent.action.VIEW" />
58 <category android:name="android.intent.category.DEFAULT" />
59 <category android:name="android.intent.category.BROWSABLE" />
60 <data android:scheme="http" />
61 <data android:scheme="https" />
62 <data android:scheme="about" />
64 <!-- For these schemes where any of these particular MIME types
65 have been supplied, we are a good candidate. -->
67 <action android:name="android.intent.action.VIEW" />
68 <category android:name="android.intent.category.BROWSABLE" />
69 <category android:name="android.intent.category.DEFAULT" />
70 <data android:scheme="http" />
71 <data android:scheme="https" />
72 <data android:scheme="inline" />
73 <data android:mimeType="text/html"/>
74 <data android:mimeType="text/plain"/>
75 <data android:mimeType="application/xhtml+xml"/>
76 <data android:mimeType="application/vnd.wap.xhtml+xml"/>
78 <!-- We are also the main entry point of the browser. -->
80 <action android:name="android.intent.action.MAIN" />
81 <category android:name="android.intent.category.DEFAULT" />
82 <category android:name="android.intent.category.LAUNCHER" />
83 <category android:name="android.intent.category.BROWSABLE" />
85 <!-- The maps app is a much better experience, so it's not
86 worth having this at all... especially for a demo!
87 <intent-filter android:label="Map In Browser">
88 <action android:name="android.intent.action.VIEW" />
89 <category android:name="android.intent.category.DEFAULT" />
90 <data android:mimeType="vnd.android.cursor.item/postal-address" />
94 <action android:name="android.intent.action.WEB_SEARCH" />
95 <category android:name="android.intent.category.DEFAULT" />
96 <category android:name="android.intent.category.BROWSABLE" />
97 <data android:scheme="" />
98 <data android:scheme="http" />
99 <data android:scheme="https" />
102 <action android:name="android.intent.action.MEDIA_SEARCH" />
103 <category android:name="android.intent.category.DEFAULT" />
106 <action android:name="android.intent.action.SEARCH" />
107 <category android:name="android.intent.category.DEFAULT" />
109 <meta-data android:name="android.app.searchable"
110 android:resource="@xml/searchable" />
112 <action android:name="android.net.http.NETWORK_STATE" />
113 <action android:name="android.intent.action.PROXY_CHANGE" />
117 <activity android:name="CombinedBookmarkHistoryActivity" android:label=""
118 android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden">
121 <activity android:name="BrowserBookmarksPage" android:label="@string/bookmarks"
122 android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden">
125 <activity android:name="MostVisitedActivity" android:label=""
126 android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden"/>
128 <activity-alias android:name="ShortcutBookmarksPage"
129 android:targetActivity="BrowserBookmarksPage"
130 android:label="@string/shortcut_bookmark"
131 android:icon="@drawable/ic_launcher_shortcut_browser_bookmark">
134 <action android:name="android.intent.action.CREATE_SHORTCUT" />
135 <category android:name="android.intent.category.DEFAULT" />
140 <activity android:name="BrowserDownloadPage" android:label=""
141 android:configChanges="orientation|keyboardHidden">
144 <activity android:name="BrowserPreferencesPage" android:label="@string/menu_preferences"
145 android:configChanges="orientation|keyboardHidden">
148 <activity android:name="BrowserHistoryPage" android:label=""
149 android:configChanges="orientation|keyboardHidden">
152 <activity android:name="BrowserPluginList" android:label=""
153 android:configChanges="orientation|keyboardHidden">
156 <activity android:name="GearsDialog" android:process=":dialog"
157 android:configChanges="orientation|keyboardHidden"
158 android:theme="@android:style/Theme.Dialog">
161 <activity android:name="GearsNativeDialog"
162 android:configChanges="orientation|keyboardHidden"
163 android:theme="@android:style/Theme.Dialog">
166 <activity android:name="BookmarkSearch"
167 android:label="@string/bookmarks_search"
168 android:stateNotNeeded="true"
169 android:theme="@android:style/Theme.NoDisplay"
170 android:excludeFromRecents="true">
172 <action android:name="android.intent.action.SEARCH" />
173 <category android:name="android.intent.category.DEFAULT" />
175 <meta-data android:name="android.app.searchable"
176 android:resource="@xml/bookmarks_searchable" />
179 <service android:name="GearsDialogService"
180 android:process=":dialog"
181 android:exported="false">
183 <action android:name="com.android.browser.IGearsDialogService" />
187 <activity android:name="AddBookmarkPage" android:label="Save bookmark" android:theme="@android:style/Theme.Dialog"
188 android:configChanges="orientation|keyboardHidden" android:windowSoftInputMode="stateHidden">
190 <action android:name="android.intent.action.INSERT" />
191 <category android:name="android.intent.category.DEFAULT" />
192 <data android:mimeType="vnd.android.cursor.dir/bookmark"/>
196 <!-- Makes .BrowserActivity the search target for any activity in Browser -->
197 <meta-data android:name="android.app.default_searchable" android:value=".BrowserActivity" />