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"/> |
| 28 | <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/> |
| 29 | <uses-permission android:name="android.permission.INTERNET" /> |
Ben Murdoch | 4f75ba2 | 2009-10-27 11:48:28 +0000 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.SET_WALLPAPER" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
Grace Kloba | 4d7880f | 2009-08-12 09:35:42 -0700 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Leon Scroggins | 04b2e8e | 2009-07-27 11:07:09 -0400 | [diff] [blame] | 33 | <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/> |
| 34 | <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/> |
Leon Scroggins | fedc493 | 2010-01-26 14:15:01 -0500 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 36 | |
| 37 | <application android:name="Browser" |
| 38 | android:label="@string/application_name" |
| 39 | android:icon="@drawable/ic_launcher_browser" |
Christopher Tate | de6f131 | 2009-07-07 13:11:41 -0700 | [diff] [blame] | 40 | android:backupAgent=".BrowserBackupAgent" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 41 | android:taskAffinity="android.task.browser" > |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 42 | |
Satish Sampath | 565505b | 2009-05-29 15:37:27 +0100 | [diff] [blame] | 43 | <provider android:name="BrowserProvider" |
| 44 | android:authorities="browser" |
| 45 | android:multiprocess="true" |
Leon Scroggins | 04b2e8e | 2009-07-27 11:07:09 -0400 | [diff] [blame] | 46 | android:readPermission="com.android.browser.permission.READ_HISTORY_BOOKMARKS" |
| 47 | android:writePermission="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"> |
Dianne Hackborn | 373d5f2 | 2009-07-08 14:59:33 -0700 | [diff] [blame] | 48 | <path-permission android:path="/bookmarks/search_suggest_query" |
| 49 | android:readPermission="android.permission.GLOBAL_SEARCH" /> |
Bjorn Bringert | e6c4bd8 | 2010-02-09 12:11:27 +0000 | [diff] [blame] | 50 | <path-permission android:path="/geolocation" |
| 51 | android:writePermission="com.android.browser.permission.WRITE_GEOLOCATION_PERMISSIONS" /> |
Dianne Hackborn | 373d5f2 | 2009-07-08 14:59:33 -0700 | [diff] [blame] | 52 | </provider> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 53 | <activity android:name="BrowserActivity" |
| 54 | android:label="@string/application_name" |
| 55 | android:launchMode="singleTask" |
| 56 | android:alwaysRetainTaskState="true" |
| 57 | android:configChanges="orientation|keyboardHidden" |
Derek Sollenberger | fe7f3f5 | 2009-12-18 08:59:22 -0500 | [diff] [blame] | 58 | android:theme="@style/BrowserTheme" |
| 59 | android:windowSoftInputMode="adjustResize" > |
Leon Scroggins | 58d56c6 | 2010-01-28 15:12:40 -0500 | [diff] [blame] | 60 | <intent-filter> |
| 61 | <action android:name="android.speech.action.VOICE_SEARCH_RESULTS" /> |
| 62 | <category android:name="android.intent.category.DEFAULT" /> |
| 63 | </intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 64 | <!-- For these schemes were not particular MIME type has been |
| 65 | supplied, we are a good candidate. --> |
| 66 | <intent-filter> |
| 67 | <action android:name="android.intent.action.VIEW" /> |
| 68 | <category android:name="android.intent.category.DEFAULT" /> |
| 69 | <category android:name="android.intent.category.BROWSABLE" /> |
| 70 | <data android:scheme="http" /> |
| 71 | <data android:scheme="https" /> |
| 72 | <data android:scheme="about" /> |
Leon Scroggins | 1ae92f9 | 2009-09-15 17:33:20 -0400 | [diff] [blame] | 73 | <data android:scheme="javascript" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 74 | </intent-filter> |
| 75 | <!-- For these schemes where any of these particular MIME types |
| 76 | have been supplied, we are a good candidate. --> |
| 77 | <intent-filter> |
| 78 | <action android:name="android.intent.action.VIEW" /> |
| 79 | <category android:name="android.intent.category.BROWSABLE" /> |
| 80 | <category android:name="android.intent.category.DEFAULT" /> |
| 81 | <data android:scheme="http" /> |
| 82 | <data android:scheme="https" /> |
Mitsuru Oshima | 25ad8ab | 2009-06-10 16:26:07 -0700 | [diff] [blame] | 83 | <data android:scheme="inline" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 84 | <data android:mimeType="text/html"/> |
| 85 | <data android:mimeType="text/plain"/> |
| 86 | <data android:mimeType="application/xhtml+xml"/> |
| 87 | <data android:mimeType="application/vnd.wap.xhtml+xml"/> |
| 88 | </intent-filter> |
| 89 | <!-- We are also the main entry point of the browser. --> |
| 90 | <intent-filter> |
| 91 | <action android:name="android.intent.action.MAIN" /> |
| 92 | <category android:name="android.intent.category.DEFAULT" /> |
| 93 | <category android:name="android.intent.category.LAUNCHER" /> |
| 94 | <category android:name="android.intent.category.BROWSABLE" /> |
| 95 | </intent-filter> |
| 96 | <!-- The maps app is a much better experience, so it's not |
| 97 | worth having this at all... especially for a demo! |
| 98 | <intent-filter android:label="Map In Browser"> |
| 99 | <action android:name="android.intent.action.VIEW" /> |
| 100 | <category android:name="android.intent.category.DEFAULT" /> |
| 101 | <data android:mimeType="vnd.android.cursor.item/postal-address" /> |
| 102 | </intent-filter> |
| 103 | --> |
| 104 | <intent-filter> |
| 105 | <action android:name="android.intent.action.WEB_SEARCH" /> |
| 106 | <category android:name="android.intent.category.DEFAULT" /> |
| 107 | <category android:name="android.intent.category.BROWSABLE" /> |
| 108 | <data android:scheme="" /> |
| 109 | <data android:scheme="http" /> |
| 110 | <data android:scheme="https" /> |
| 111 | </intent-filter> |
| 112 | <intent-filter> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 113 | <action android:name="android.intent.action.MEDIA_SEARCH" /> |
| 114 | <category android:name="android.intent.category.DEFAULT" /> |
| 115 | </intent-filter> |
| 116 | <intent-filter> |
| 117 | <action android:name="android.intent.action.SEARCH" /> |
| 118 | <category android:name="android.intent.category.DEFAULT" /> |
| 119 | </intent-filter> |
| 120 | <meta-data android:name="android.app.searchable" |
| 121 | android:resource="@xml/searchable" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 122 | </activity> |
| 123 | |
| 124 | <activity android:name="CombinedBookmarkHistoryActivity" android:label="" |
Grace Kloba | 429faf2 | 2009-09-16 15:56:40 -0700 | [diff] [blame] | 125 | android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden" |
| 126 | android:theme="@style/BookmarkTheme" > |
Ben Murdoch | 1e8fac5 | 2009-09-21 15:34:07 +0100 | [diff] [blame] | 127 | <meta-data android:name="android.app.default_searchable" |
| 128 | android:value=".BrowserActivity" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 129 | </activity> |
| 130 | |
| 131 | <activity android:name="BrowserBookmarksPage" android:label="@string/bookmarks" |
| 132 | android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden"> |
| 133 | </activity> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 134 | |
| 135 | <activity-alias android:name="ShortcutBookmarksPage" |
| 136 | android:targetActivity="BrowserBookmarksPage" |
Romain Guy | db6c391 | 2009-03-24 18:08:40 -0700 | [diff] [blame] | 137 | android:label="@string/shortcut_bookmark" |
| 138 | android:icon="@drawable/ic_launcher_shortcut_browser_bookmark"> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 139 | |
| 140 | <intent-filter> |
| 141 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 142 | <category android:name="android.intent.category.DEFAULT" /> |
| 143 | </intent-filter> |
| 144 | |
Satish Sampath | 565505b | 2009-05-29 15:37:27 +0100 | [diff] [blame] | 145 | </activity-alias> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 146 | |
| 147 | <activity android:name="BrowserDownloadPage" android:label="" |
| 148 | android:configChanges="orientation|keyboardHidden"> |
| 149 | </activity> |
| 150 | |
| 151 | <activity android:name="BrowserPreferencesPage" android:label="@string/menu_preferences" |
| 152 | android:configChanges="orientation|keyboardHidden"> |
| 153 | </activity> |
| 154 | |
| 155 | <activity android:name="BrowserHistoryPage" android:label="" |
| 156 | android:configChanges="orientation|keyboardHidden"> |
| 157 | </activity> |
| 158 | |
Nicolas Roard | e46990e | 2009-06-19 16:27:49 +0100 | [diff] [blame] | 159 | <activity android:name="WebsiteSettingsActivity" android:label="" |
| 160 | android:configChanges="orientation|keyboardHidden"> |
| 161 | </activity> |
| 162 | |
Bjorn Bringert | e90ede4 | 2009-04-29 22:33:52 +0100 | [diff] [blame] | 163 | <activity android:name="BookmarkSearch" |
| 164 | android:label="@string/bookmarks_search" |
| 165 | android:stateNotNeeded="true" |
| 166 | android:theme="@android:style/Theme.NoDisplay" |
| 167 | android:excludeFromRecents="true"> |
| 168 | <intent-filter> |
| 169 | <action android:name="android.intent.action.SEARCH" /> |
| 170 | <category android:name="android.intent.category.DEFAULT" /> |
| 171 | </intent-filter> |
| 172 | <meta-data android:name="android.app.searchable" |
| 173 | android:resource="@xml/bookmarks_searchable" /> |
| 174 | </activity> |
| 175 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 176 | <activity android:name="AddBookmarkPage" android:label="Save bookmark" android:theme="@android:style/Theme.Dialog" |
| 177 | android:configChanges="orientation|keyboardHidden" android:windowSoftInputMode="stateHidden"> |
| 178 | <intent-filter> |
| 179 | <action android:name="android.intent.action.INSERT" /> |
| 180 | <category android:name="android.intent.category.DEFAULT" /> |
| 181 | <data android:mimeType="vnd.android.cursor.dir/bookmark"/> |
| 182 | </intent-filter> |
| 183 | </activity> |
| 184 | |
Patrick Scott | 1c15ace | 2009-12-08 08:51:33 -0500 | [diff] [blame] | 185 | <!--receiver android:name=".widget.BookmarkWidgetProvider" android:label="@string/bookmarks"> |
| 186 | <intent-filter> |
| 187 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 188 | </intent-filter> |
| 189 | <meta-data android:name="android.appwidget.provider" android:resource="@xml/bookmarkwidget"/> |
| 190 | </receiver> |
| 191 | |
| 192 | <service android:name=".widget.BookmarkWidgetService" /--> |
| 193 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 194 | <!-- Makes .BrowserActivity the search target for any activity in Browser --> |
| 195 | <meta-data android:name="android.app.default_searchable" android:value=".BrowserActivity" /> |
| 196 | |
Leon Scroggins | fedc493 | 2010-01-26 14:15:01 -0500 | [diff] [blame] | 197 | <receiver android:name=".OpenDownloadReceiver"> |
| 198 | <intent-filter> |
| 199 | <action android:name="android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED"/> |
| 200 | <action android:name="android.intent.action.DELETE"/> |
| 201 | <data android:scheme="content" android:mimeType="vnd.android.cursor.item/download"/> |
| 202 | </intent-filter> |
| 203 | </receiver> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 204 | </application> |
| 205 | |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 206 | </manifest> |
| 207 | |