PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/WebVox/AndroidManifest.xml

http://eyes-free.googlecode.com/
XML | 188 lines | 136 code | 21 blank | 31 comment | 0 complexity | 3793faf1e5bf97a99b0c4d0b01e4508c MD5 | raw file
  1<!--
  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 */
 17-->
 18
 19<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.marvin.webvox">
 20
 21    <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
 22    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
 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.WRITE_EXTERNAL_STORAGE" />
 32    <uses-permission android:name="com.marvin.webvox.permission.READ_HISTORY_BOOKMARKS"/>
 33    <uses-permission android:name="com.marvin.webvox.permission.WRITE_HISTORY_BOOKMARKS"/>
 34    <uses-permission android:name="android.permission.BACKUP_DATA" />
 35    <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
 36    <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/>
 37
 38    <application   android:name="Browser"
 39                   android:label="@string/application_name"
 40                   android:icon="@drawable/ic_launcher_browser"
 41                   android:backupAgent=".BrowserBackupAgent"
 42                   android:taskAffinity="android.task.browser" >
 43
 44        <provider android:name="BrowserProvider"
 45                  android:authorities="webvox"
 46                  android:multiprocess="true"
 47                  android:readPermission="com.marvin.webvox.permission.READ_HISTORY_BOOKMARKS"
 48                  android:writePermission="com.marvin.webvox.permission.WRITE_HISTORY_BOOKMARKS">
 49            <path-permission android:path="/bookmarks/search_suggest_query"
 50                    android:readPermission="android.permission.GLOBAL_SEARCH" />
 51        </provider>
 52        <activity android:name="BrowserActivity"
 53                  android:label="@string/application_name"
 54                  android:launchMode="singleTask"
 55                  android:alwaysRetainTaskState="true"
 56                  android:configChanges="orientation|keyboardHidden"
 57                  android:theme="@style/BrowserTheme" >
 58            <!-- For these schemes were not particular MIME type has been
 59                 supplied, we are a good candidate. -->
 60            <intent-filter>
 61                <action android:name="android.intent.action.VIEW" />
 62                <category android:name="android.intent.category.DEFAULT" />
 63                <category android:name="android.intent.category.BROWSABLE" />
 64                <data android:scheme="http" />
 65                <data android:scheme="https" />
 66                <data android:scheme="about" />
 67                <data android:scheme="javascript" />
 68            </intent-filter>
 69            <!--  For these schemes where any of these particular MIME types
 70                  have been supplied, we are a good candidate. -->
 71            <intent-filter>
 72                <action android:name="android.intent.action.VIEW" />
 73                <category android:name="android.intent.category.BROWSABLE" />
 74                <category android:name="android.intent.category.DEFAULT" />
 75                <data android:scheme="http" />
 76                <data android:scheme="https" />
 77                <data android:scheme="inline" />
 78                <data android:mimeType="text/html"/>
 79                <data android:mimeType="text/plain"/>
 80                <data android:mimeType="application/xhtml+xml"/>
 81                <data android:mimeType="application/vnd.wap.xhtml+xml"/>
 82            </intent-filter>
 83            <!-- We are also the main entry point of the browser. -->
 84            <intent-filter>
 85                <action android:name="android.intent.action.MAIN" />
 86                <category android:name="android.intent.category.DEFAULT" />
 87                <category android:name="android.intent.category.LAUNCHER" />
 88                <category android:name="android.intent.category.BROWSABLE" />
 89            </intent-filter>
 90            <!-- The maps app is a much better experience, so it's not
 91                 worth having this at all... especially for a demo!
 92            <intent-filter android:label="Map In Browser">
 93                <action android:name="android.intent.action.VIEW" />
 94                <category android:name="android.intent.category.DEFAULT" />
 95                <data android:mimeType="vnd.android.cursor.item/postal-address" />
 96            </intent-filter>
 97            -->
 98            <intent-filter>
 99                <action android:name="android.intent.action.WEB_SEARCH" />
100                <category android:name="android.intent.category.DEFAULT" />
101                <category android:name="android.intent.category.BROWSABLE" />
102                <data android:scheme="" />
103                <data android:scheme="http" />
104                <data android:scheme="https" />
105            </intent-filter>
106            <intent-filter>
107                <action android:name="android.intent.action.MEDIA_SEARCH" />
108                <category android:name="android.intent.category.DEFAULT" />
109            </intent-filter>
110            <intent-filter>
111                <action android:name="android.intent.action.SEARCH" />
112                <category android:name="android.intent.category.DEFAULT" />
113            </intent-filter>
114            <meta-data android:name="android.app.searchable"
115                    android:resource="@xml/searchable" />
116        </activity>
117
118        <activity android:name="CombinedBookmarkHistoryActivity" android:label=""
119                  android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden"
120                  android:theme="@style/BookmarkTheme" >
121            <meta-data android:name="android.app.default_searchable"
122                    android:value=".BrowserActivity" />
123        </activity>
124
125        <activity android:name="BrowserBookmarksPage" android:label="@string/bookmarks"
126                  android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden">
127        </activity>
128        <activity android:name="MostVisitedActivity" android:label=""
129                android:launchMode="singleTop" android:configChanges="orientation|keyboardHidden"/>
130
131        <activity-alias android:name="ShortcutBookmarksPage"
132            android:targetActivity="BrowserBookmarksPage"
133            android:label="@string/shortcut_bookmark"
134            android:icon="@drawable/ic_launcher_shortcut_browser_bookmark">
135
136            <intent-filter>
137                <action android:name="android.intent.action.CREATE_SHORTCUT" />
138                <category android:name="android.intent.category.DEFAULT" />
139            </intent-filter>
140
141        </activity-alias>
142
143        <activity android:name="BrowserPreferencesPage" android:label="@string/menu_preferences"
144                  android:configChanges="orientation|keyboardHidden">
145        </activity>
146
147        <activity android:name="BrowserHistoryPage" android:label=""
148                  android:configChanges="orientation|keyboardHidden">
149        </activity>
150
151
152
153        <activity android:name="WebsiteSettingsActivity" android:label=""
154                  android:configChanges="orientation|keyboardHidden">
155        </activity>
156
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
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
182    <activity android:name=".ScriptListActivity" android:label="@string/app_scripts" android:configChanges="orientation|keyboardHidden">
183    </activity>
184
185    </application>
186
187</manifest>
188