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