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