The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 1 | <!-- |
Leon Scroggins | b6b7f9e | 2009-06-18 12:05:28 -0400 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2006, The Android Open Source 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 | */ |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 17 | --> |
| 18 | |
| 19 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.browser"> |
| 20 | |
Jeff Hamilton | 660d285 | 2010-02-11 16:25:47 -0600 | [diff] [blame] | 21 | <original-package android:name="com.android.browser" /> |
| 22 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 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"/> |
Jeff Hamilton | a9bad83 | 2010-09-24 11:05:30 -0500 | [diff] [blame^] | 28 | <uses-permission android:name="android.permission.GET_ACCOUNTS"/> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.INTERNET" /> |
Jeff Hamilton | a9bad83 | 2010-09-24 11:05:30 -0500 | [diff] [blame^] | 30 | <uses-permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" /> |
Ben Murdoch | 4f75ba2 | 2009-10-27 11:48:28 +0000 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
Grace Kloba | 4d7880f | 2009-08-12 09:35:42 -0700 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Bjorn Bringert | d69f51d | 2010-09-13 14:06:41 +0100 | [diff] [blame] | 34 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
Jeff Hamilton | a9bad83 | 2010-09-24 11:05:30 -0500 | [diff] [blame^] | 35 | <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
Leon Scroggins | 04b2e8e | 2009-07-27 11:07:09 -0400 | [diff] [blame] | 36 | <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/> |
| 37 | <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/> |
Jeff Hamilton | a9bad83 | 2010-09-24 11:05:30 -0500 | [diff] [blame^] | 38 | <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 39 | |
| 40 | <application android:name="Browser" |
| 41 | android:label="@string/application_name" |
| 42 | android:icon="@drawable/ic_launcher_browser" |
Christopher Tate | de6f131 | 2009-07-07 13:11:41 -0700 | [diff] [blame] | 43 | android:backupAgent=".BrowserBackupAgent" |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 44 | android:hardwareAccelerated="false" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 45 | android:taskAffinity="android.task.browser" > |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 46 | |
Satish Sampath | 565505b | 2009-05-29 15:37:27 +0100 | [diff] [blame] | 47 | <provider android:name="BrowserProvider" |
| 48 | android:authorities="browser" |
| 49 | android:multiprocess="true" |
Leon Scroggins | 04b2e8e | 2009-07-27 11:07:09 -0400 | [diff] [blame] | 50 | android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS" |
| 51 | android:writePermission="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"> |
Dianne Hackborn | 373d5f2 | 2009-07-08 14:59:33 -0700 | [diff] [blame] | 52 | <path-permission android:path="/bookmarks/search_suggest_query" |
| 53 | android:readPermission="android.permission.GLOBAL_SEARCH" /> |
| 54 | </provider> |
Jeff Hamilton | 8402962 | 2010-08-05 14:29:28 -0500 | [diff] [blame] | 55 | <provider android:name=".provider.BrowserProvider2" |
| 56 | android:authorities="com.android.browser" |
| 57 | android:multiprocess="true" |
| 58 | android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS" |
| 59 | android:writePermission="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"> |
| 60 | <path-permission android:path="/bookmarks/search_suggest_query" |
| 61 | android:readPermission="android.permission.GLOBAL_SEARCH" /> |
| 62 | </provider> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 63 | <activity android:name="BrowserActivity" |
| 64 | android:label="@string/application_name" |
| 65 | android:launchMode="singleTask" |
| 66 | android:alwaysRetainTaskState="true" |
| 67 | android:configChanges="orientation|keyboardHidden" |
Derek Sollenberger | fe7f3f5 | 2009-12-18 08:59:22 -0500 | [diff] [blame] | 68 | android:theme="@style/BrowserTheme" |
| 69 | android:windowSoftInputMode="adjustResize" > |
Leon Scroggins | 58d56c6 | 2010-01-28 15:12:40 -0500 | [diff] [blame] | 70 | <intent-filter> |
| 71 | <action android:name="android.speech.action.VOICE_SEARCH_RESULTS" /> |
| 72 | <category android:name="android.intent.category.DEFAULT" /> |
| 73 | </intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 74 | <!-- For these schemes were not particular MIME type has been |
| 75 | supplied, we are a good candidate. --> |
| 76 | <intent-filter> |
| 77 | <action android:name="android.intent.action.VIEW" /> |
| 78 | <category android:name="android.intent.category.DEFAULT" /> |
| 79 | <category android:name="android.intent.category.BROWSABLE" /> |
| 80 | <data android:scheme="http" /> |
| 81 | <data android:scheme="https" /> |
| 82 | <data android:scheme="about" /> |
Leon Scroggins | 1ae92f9 | 2009-09-15 17:33:20 -0400 | [diff] [blame] | 83 | <data android:scheme="javascript" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 84 | </intent-filter> |
| 85 | <!-- For these schemes where any of these particular MIME types |
| 86 | have been supplied, we are a good candidate. --> |
| 87 | <intent-filter> |
| 88 | <action android:name="android.intent.action.VIEW" /> |
| 89 | <category android:name="android.intent.category.BROWSABLE" /> |
| 90 | <category android:name="android.intent.category.DEFAULT" /> |
| 91 | <data android:scheme="http" /> |
| 92 | <data android:scheme="https" /> |
Mitsuru Oshima | 25ad8ab | 2009-06-10 16:26:07 -0700 | [diff] [blame] | 93 | <data android:scheme="inline" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 94 | <data android:mimeType="text/html"/> |
| 95 | <data android:mimeType="text/plain"/> |
| 96 | <data android:mimeType="application/xhtml+xml"/> |
| 97 | <data android:mimeType="application/vnd.wap.xhtml+xml"/> |
| 98 | </intent-filter> |
Elliott Slaughter | 0ced08c | 2010-06-30 11:40:42 -0700 | [diff] [blame] | 99 | <!-- For viewing saved web archives. --> |
| 100 | <intent-filter> |
| 101 | <action android:name="android.intent.action.VIEW" /> |
| 102 | <category android:name="android.intent.category.BROWSABLE" /> |
| 103 | <category android:name="android.intent.category.DEFAULT" /> |
| 104 | <data android:scheme="http" /> |
| 105 | <data android:scheme="https" /> |
| 106 | <data android:scheme="file" /> |
| 107 | <data android:mimeType="application/x-webarchive-xml"/> |
| 108 | </intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 109 | <!-- We are also the main entry point of the browser. --> |
| 110 | <intent-filter> |
| 111 | <action android:name="android.intent.action.MAIN" /> |
| 112 | <category android:name="android.intent.category.DEFAULT" /> |
| 113 | <category android:name="android.intent.category.LAUNCHER" /> |
| 114 | <category android:name="android.intent.category.BROWSABLE" /> |
| 115 | </intent-filter> |
| 116 | <!-- The maps app is a much better experience, so it's not |
| 117 | worth having this at all... especially for a demo! |
| 118 | <intent-filter android:label="Map In Browser"> |
| 119 | <action android:name="android.intent.action.VIEW" /> |
| 120 | <category android:name="android.intent.category.DEFAULT" /> |
| 121 | <data android:mimeType="vnd.android.cursor.item/postal-address" /> |
| 122 | </intent-filter> |
| 123 | --> |
| 124 | <intent-filter> |
| 125 | <action android:name="android.intent.action.WEB_SEARCH" /> |
| 126 | <category android:name="android.intent.category.DEFAULT" /> |
| 127 | <category android:name="android.intent.category.BROWSABLE" /> |
| 128 | <data android:scheme="" /> |
| 129 | <data android:scheme="http" /> |
| 130 | <data android:scheme="https" /> |
| 131 | </intent-filter> |
| 132 | <intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 133 | <action android:name="android.intent.action.MEDIA_SEARCH" /> |
| 134 | <category android:name="android.intent.category.DEFAULT" /> |
| 135 | </intent-filter> |
| 136 | <intent-filter> |
| 137 | <action android:name="android.intent.action.SEARCH" /> |
| 138 | <category android:name="android.intent.category.DEFAULT" /> |
| 139 | </intent-filter> |
| 140 | <meta-data android:name="android.app.searchable" |
| 141 | android:resource="@xml/searchable" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 142 | </activity> |
| 143 | |
Brad Fitzpatrick | ad2f360 | 2010-03-19 13:35:21 -0700 | [diff] [blame] | 144 | <activity android:name="CombinedBookmarkHistoryActivity" android:label="@string/bookmarks" |
| 145 | android:excludeFromRecents="true" |
Grace Kloba | 429faf2 | 2009-09-16 15:56:40 -0700 | [diff] [blame] | 146 | android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden" |
| 147 | android:theme="@style/BookmarkTheme" > |
Ben Murdoch | 1e8fac5 | 2009-09-21 15:34:07 +0100 | [diff] [blame] | 148 | <meta-data android:name="android.app.default_searchable" |
| 149 | android:value=".BrowserActivity" /> |
Brad Fitzpatrick | ad2f360 | 2010-03-19 13:35:21 -0700 | [diff] [blame] | 150 | <intent-filter> |
| 151 | <action android:name="android.intent.action.MAIN" /> |
| 152 | </intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 153 | </activity> |
| 154 | |
| 155 | <activity android:name="BrowserBookmarksPage" android:label="@string/bookmarks" |
| 156 | android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden"> |
| 157 | </activity> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 158 | |
Michael Kolb | 801ecb7 | 2010-08-25 12:57:38 -0700 | [diff] [blame] | 159 | <activity android:name="ShortcutActivity" |
| 160 | android:theme="@style/ShortcutTheme" |
Romain Guy | db6c391 | 2009-03-24 18:08:40 -0700 | [diff] [blame] | 161 | android:label="@string/shortcut_bookmark" |
| 162 | android:icon="@drawable/ic_launcher_shortcut_browser_bookmark"> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 163 | |
| 164 | <intent-filter> |
| 165 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 166 | <category android:name="android.intent.category.DEFAULT" /> |
| 167 | </intent-filter> |
| 168 | |
Michael Kolb | 801ecb7 | 2010-08-25 12:57:38 -0700 | [diff] [blame] | 169 | </activity> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 170 | |
| 171 | <activity android:name="BrowserDownloadPage" android:label="" |
| 172 | android:configChanges="orientation|keyboardHidden"> |
| 173 | </activity> |
| 174 | |
| 175 | <activity android:name="BrowserPreferencesPage" android:label="@string/menu_preferences" |
| 176 | android:configChanges="orientation|keyboardHidden"> |
| 177 | </activity> |
| 178 | |
| 179 | <activity android:name="BrowserHistoryPage" android:label="" |
| 180 | android:configChanges="orientation|keyboardHidden"> |
| 181 | </activity> |
| 182 | |
Nicolas Roard | e46990e | 2009-06-19 16:27:49 +0100 | [diff] [blame] | 183 | <activity android:name="WebsiteSettingsActivity" android:label="" |
| 184 | android:configChanges="orientation|keyboardHidden"> |
| 185 | </activity> |
| 186 | |
Bjorn Bringert | e90ede4 | 2009-04-29 22:33:52 +0100 | [diff] [blame] | 187 | <activity android:name="BookmarkSearch" |
| 188 | android:label="@string/bookmarks_search" |
| 189 | android:stateNotNeeded="true" |
| 190 | android:theme="@android:style/Theme.NoDisplay" |
| 191 | android:excludeFromRecents="true"> |
| 192 | <intent-filter> |
| 193 | <action android:name="android.intent.action.SEARCH" /> |
| 194 | <category android:name="android.intent.category.DEFAULT" /> |
| 195 | </intent-filter> |
| 196 | <meta-data android:name="android.app.searchable" |
| 197 | android:resource="@xml/bookmarks_searchable" /> |
| 198 | </activity> |
| 199 | |
Michael Kolb | c7485ae | 2010-09-03 10:10:58 -0700 | [diff] [blame] | 200 | <activity android:name="AddBookmarkPage" android:label="Save bookmark" android:theme="@style/Dialog.Holo" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 201 | android:configChanges="orientation|keyboardHidden" android:windowSoftInputMode="stateHidden"> |
| 202 | <intent-filter> |
| 203 | <action android:name="android.intent.action.INSERT" /> |
| 204 | <category android:name="android.intent.category.DEFAULT" /> |
| 205 | <data android:mimeType="vnd.android.cursor.dir/bookmark"/> |
| 206 | </intent-filter> |
| 207 | </activity> |
| 208 | |
Ben Murdoch | eecb4e6 | 2010-07-06 16:30:38 +0100 | [diff] [blame] | 209 | <activity android:name="SaveToHomescreenDialog" android:label="Save to homescreen" android:theme="@android:style/Theme.Dialog" |
| 210 | android:configChanges="orientation|keyboardHidden" android:windowSoftInputMode="stateHidden"> |
| 211 | </activity> |
| 212 | |
Patrick Scott | 1c15ace | 2009-12-08 08:51:33 -0500 | [diff] [blame] | 213 | <!--receiver android:name=".widget.BookmarkWidgetProvider" android:label="@string/bookmarks"> |
| 214 | <intent-filter> |
| 215 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 216 | </intent-filter> |
| 217 | <meta-data android:name="android.appwidget.provider" android:resource="@xml/bookmarkwidget"/> |
| 218 | </receiver> |
| 219 | |
| 220 | <service android:name=".widget.BookmarkWidgetService" /--> |
| 221 | |
Michael Kolb | 0382be2 | 2010-08-15 15:48:37 -0700 | [diff] [blame] | 222 | <receiver |
| 223 | android:name=".widget.BookmarkStackWidgetProvider" |
| 224 | android:label="@string/bookmarks"> |
| 225 | <intent-filter> |
| 226 | <action |
| 227 | android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 228 | </intent-filter> |
| 229 | <meta-data |
| 230 | android:name="android.appwidget.provider" |
| 231 | android:resource="@xml/bookmarkstackwidget" /> |
| 232 | </receiver> |
| 233 | <service |
| 234 | android:name=".widget.BookmarkStackWidgetService" |
| 235 | android:exported="true" /> |
| 236 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 237 | <!-- Makes .BrowserActivity the search target for any activity in Browser --> |
| 238 | <meta-data android:name="android.app.default_searchable" android:value=".BrowserActivity" /> |
| 239 | |
Jeff Davidson | 4361029 | 2010-07-16 16:03:58 -0700 | [diff] [blame] | 240 | <!-- Application code for RLZ tracking. RLZ assigns non-unique, non-personally identifiable |
| 241 | tracking labels to client products; these labels sometimes appear in Google search |
| 242 | queries. See http://code.google.com/p/rlz for more info. |
| 243 | |
| 244 | This value signifies to the RLZ client that this application uses RLZ tracking. --> |
| 245 | <meta-data android:name="com.google.android.partnersetup.RLZ_ACCESS_POINT" |
| 246 | android:value="@string/rlz_access_point" /> |
| 247 | |
Leon Scroggins | fedc493 | 2010-01-26 14:15:01 -0500 | [diff] [blame] | 248 | <receiver android:name=".OpenDownloadReceiver"> |
| 249 | <intent-filter> |
| 250 | <action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED"/> |
Leon Scroggins | fedc493 | 2010-01-26 14:15:01 -0500 | [diff] [blame] | 251 | <data android:scheme="content" android:mimeType="vnd.android.cursor.item/download"/> |
| 252 | </intent-filter> |
| 253 | </receiver> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 254 | </application> |
| 255 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 256 | </manifest> |
| 257 | |