Commit | Line | Data |
---|---|---|
ff51d66d S |
1 | <?xml version='1.0' encoding='utf-8' standalone='yes'?> |
2 | <!-- Copyright (C) 2012 The Android Open Source Project | |
3 | ||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | |
5 | you may not use this file except in compliance with the License. | |
6 | You may obtain a copy of the License at | |
7 | ||
8 | http://www.apache.org/licenses/LICENSE-2.0 | |
9 | ||
10 | Unless required by applicable law or agreed to in writing, software | |
11 | distributed under the License is distributed on an "AS IS" BASIS, | |
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
13 | See the License for the specific language governing permissions and | |
14 | limitations under the License. | |
15 | --> | |
16 | ||
17 | <!-- | |
18 | These are the default set of preferred applications for various standard | |
19 | web URIs of Google properties to built-in Google Android applications. | |
20 | ||
21 | To generate new entries, set whatever app you want to be the default as | |
22 | normal through the UI, and then use "adb shell dumpsys package preferred-xml" | |
23 | to get the XML structure for the current preferred apps. You will probably | |
24 | want to clean up the output some, such as adding the BROWSABLE category. See | |
25 | the other entries here for guides. | |
26 | --> | |
27 | <preferred-activities> | |
28 | <item name="com.google.android.apps.plus/.phone.UrlGatewayActivity"> | |
29 | <filter> | |
30 | <action name="android.intent.action.VIEW" /> | |
31 | <cat name="android.intent.category.DEFAULT" /> | |
32 | <cat name="android.intent.category.BROWSABLE" /> | |
33 | <scheme name="https" /> | |
34 | <auth host="plus.google.com" /> | |
35 | <path prefix="/u/" /> | |
36 | </filter> | |
37 | </item> | |
38 | <item name="com.google.android.apps.plus/.phone.UrlGatewayActivity"> | |
39 | <filter> | |
40 | <action name="android.intent.action.VIEW" /> | |
41 | <cat name="android.intent.category.DEFAULT" /> | |
42 | <cat name="android.intent.category.BROWSABLE" /> | |
43 | <scheme name="http" /> | |
44 | <auth host="plus.google.com" /> | |
45 | <path literal="/" /> | |
46 | </filter> | |
47 | </item> | |
48 | <item name="com.google.android.apps.plus/.phone.UrlGatewayActivity"> | |
49 | <filter> | |
50 | <action name="android.intent.action.VIEW" /> | |
51 | <cat name="android.intent.category.DEFAULT" /> | |
52 | <cat name="android.intent.category.BROWSABLE" /> | |
53 | <scheme name="http" /> | |
54 | <auth host="plus.google.com" /> | |
55 | <path prefix="/u/" /> | |
56 | </filter> | |
57 | </item> | |
58 | <item name="com.google.android.apps.plus/.phone.UrlGatewayActivity"> | |
59 | <filter> | |
60 | <action name="android.intent.action.VIEW" /> | |
61 | <cat name="android.intent.category.DEFAULT" /> | |
62 | <cat name="android.intent.category.BROWSABLE" /> | |
63 | <scheme name="https" /> | |
64 | <auth host="plus.google.com" /> | |
65 | <path literal="/" /> | |
66 | </filter> | |
67 | </item> | |
68 | <item name="com.google.android.apps.maps/com.google.android.maps.MapsActivity"> | |
69 | <filter> | |
70 | <action name="android.intent.action.VIEW" /> | |
71 | <cat name="android.intent.category.BROWSABLE" /> | |
72 | <cat name="android.intent.category.DEFAULT" /> | |
73 | <scheme name="http" /> | |
74 | <auth host="maps.google.com" /> | |
75 | <path literal="/" /> | |
76 | </filter> | |
77 | </item> | |
78 | <item name="com.google.android.apps.maps/com.google.android.maps.MapsActivity"> | |
79 | <filter> | |
80 | <action name="android.intent.action.VIEW" /> | |
81 | <cat name="android.intent.category.BROWSABLE" /> | |
82 | <cat name="android.intent.category.DEFAULT" /> | |
83 | <scheme name="https" /> | |
84 | <auth host="maps.google.com" /> | |
85 | <path literal="/" /> | |
86 | </filter> | |
87 | </item> | |
88 | <item name="com.google.android.apps.maps/com.google.android.maps.MapsActivity"> | |
89 | <filter> | |
90 | <action name="android.intent.action.VIEW" /> | |
91 | <cat name="android.intent.category.BROWSABLE" /> | |
92 | <cat name="android.intent.category.DEFAULT" /> | |
93 | <scheme name="http" /> | |
94 | <auth host="maps.google.com" /> | |
95 | <path prefix="/maps" /> | |
96 | </filter> | |
97 | </item> | |
98 | <item name="com.google.android.apps.maps/com.google.android.maps.MapsActivity"> | |
99 | <filter> | |
100 | <action name="android.intent.action.VIEW" /> | |
101 | <cat name="android.intent.category.BROWSABLE" /> | |
102 | <cat name="android.intent.category.DEFAULT" /> | |
103 | <scheme name="https" /> | |
104 | <auth host="maps.google.com" /> | |
105 | <path prefix="/maps" /> | |
106 | </filter> | |
107 | </item> | |
108 | <item name="com.google.android.apps.maps/com.google.android.maps.MapsActivity"> | |
109 | <filter> | |
110 | <action name="android.intent.action.VIEW" /> | |
111 | <cat name="android.intent.category.BROWSABLE" /> | |
112 | <cat name="android.intent.category.DEFAULT" /> | |
113 | <scheme name="geo" /> | |
114 | </filter> | |
115 | </item> | |
116 | <item name="com.android.vending/com.google.android.finsky.activities.MainActivity"> | |
117 | <filter> | |
118 | <action name="android.intent.action.VIEW" /> | |
119 | <cat name="android.intent.category.BROWSABLE" /> | |
120 | <cat name="android.intent.category.DEFAULT" /> | |
121 | <scheme name="https" /> | |
122 | <auth host="play.google.com" /> | |
123 | <path prefix="/store" /> | |
124 | </filter> | |
125 | </item> | |
126 | <item name="com.android.vending/com.google.android.finsky.activities.MainActivity"> | |
127 | <filter> | |
128 | <action name="android.intent.action.VIEW" /> | |
129 | <cat name="android.intent.category.BROWSABLE" /> | |
130 | <cat name="android.intent.category.DEFAULT" /> | |
131 | <scheme name="http" /> | |
132 | <auth host="play.google.com" /> | |
133 | <path prefix="/store" /> | |
134 | </filter> | |
135 | </item> | |
136 | <item name="com.google.android.youtube/.UrlActivity"> | |
137 | <filter> | |
138 | <action name="android.intent.action.VIEW" /> | |
139 | <cat name="android.intent.category.DEFAULT" /> | |
140 | <cat name="android.intent.category.BROWSABLE" /> | |
141 | <scheme name="https" /> | |
142 | <auth host="youtu.be" /> | |
143 | <path prefix="" /> | |
144 | </filter> | |
145 | </item> | |
146 | <item name="com.google.android.youtube/.UrlActivity"> | |
147 | <filter> | |
148 | <action name="android.intent.action.VIEW" /> | |
149 | <cat name="android.intent.category.DEFAULT" /> | |
150 | <cat name="android.intent.category.BROWSABLE" /> | |
151 | <scheme name="http" /> | |
152 | <auth host="youtu.be" /> | |
153 | <path prefix="" /> | |
154 | </filter> | |
155 | </item> | |
156 | <item name="com.google.android.youtube/.UrlActivity"> | |
157 | <filter> | |
158 | <action name="android.intent.action.VIEW" /> | |
159 | <cat name="android.intent.category.DEFAULT" /> | |
160 | <cat name="android.intent.category.BROWSABLE" /> | |
161 | <scheme name="http" /> | |
162 | <auth host="m.youtube.com" /> | |
163 | <path prefix="" /> | |
164 | </filter> | |
165 | </item> | |
166 | <item name="com.google.android.youtube/.UrlActivity"> | |
167 | <filter> | |
168 | <action name="android.intent.action.VIEW" /> | |
169 | <cat name="android.intent.category.DEFAULT" /> | |
170 | <cat name="android.intent.category.BROWSABLE" /> | |
171 | <scheme name="https" /> | |
172 | <auth host="youtube.com" /> | |
173 | <path prefix="" /> | |
174 | </filter> | |
175 | </item> | |
176 | <item name="com.google.android.youtube/.UrlActivity"> | |
177 | <filter> | |
178 | <action name="android.intent.action.VIEW" /> | |
179 | <cat name="android.intent.category.DEFAULT" /> | |
180 | <cat name="android.intent.category.BROWSABLE" /> | |
181 | <scheme name="https" /> | |
182 | <auth host="www.youtube.com" /> | |
183 | <path prefix="" /> | |
184 | </filter> | |
185 | </item> | |
186 | <item name="com.google.android.youtube/.UrlActivity"> | |
187 | <filter> | |
188 | <action name="android.intent.action.VIEW" /> | |
189 | <cat name="android.intent.category.DEFAULT" /> | |
190 | <cat name="android.intent.category.BROWSABLE" /> | |
191 | <scheme name="http" /> | |
192 | <auth host="www.youtube.com" /> | |
193 | <path prefix="" /> | |
194 | </filter> | |
195 | </item> | |
196 | <item name="com.google.android.youtube/.UrlActivity"> | |
197 | <filter> | |
198 | <action name="android.intent.action.VIEW" /> | |
199 | <cat name="android.intent.category.DEFAULT" /> | |
200 | <cat name="android.intent.category.BROWSABLE" /> | |
201 | <scheme name="https" /> | |
202 | <auth host="m.youtube.com" /> | |
203 | <path prefix="" /> | |
204 | </filter> | |
205 | </item> | |
206 | <item name="com.google.android.youtube/.UrlActivity"> | |
207 | <filter> | |
208 | <action name="android.intent.action.VIEW" /> | |
209 | <cat name="android.intent.category.DEFAULT" /> | |
210 | <cat name="android.intent.category.BROWSABLE" /> | |
211 | <scheme name="http" /> | |
212 | <auth host="youtube.com" /> | |
213 | <path literal="/watch" /> | |
214 | </filter> | |
215 | </item> | |
216 | <item name="com.google.android.apps.plus/.phone.HostPhotoViewIntentActivity"> | |
217 | <filter> | |
218 | <action name="android.intent.action.VIEW" /> | |
219 | <cat name="android.intent.category.DEFAULT" /> | |
220 | <cat name="android.intent.category.BROWSABLE" /> | |
221 | <scheme name="http" /> | |
222 | <scheme name="https" /> | |
223 | <scheme name="content" /> | |
224 | <scheme name="file" /> | |
225 | <type name="image/bmp" /> | |
226 | <type name="image/jpeg" /> | |
227 | <type name="image/gif" /> | |
228 | <type name="image/png" /> | |
229 | <type name="image/webp" /> | |
230 | <type name="image/x-ms-bmp" /> | |
231 | <type name="image/vnd.wap.wbmp" /> | |
232 | <type name="application/vnd.google.panorama360+jpg" /> | |
233 | </filter> | |
234 | </item> | |
235 | <item name="com.google.android.apps.plus/.editor.PlusEditorActivity"> | |
236 | <filter> | |
237 | <action name="android.intent.action.EDIT" /> | |
238 | <cat name="android.intent.category.DEFAULT" /> | |
239 | <type name="image/bmp" /> | |
240 | <type name="image/jpeg" /> | |
241 | <type name="image/gif" /> | |
242 | <type name="image/png" /> | |
243 | <type name="image/webp" /> | |
244 | <type name="image/x-ms-bmp" /> | |
245 | <type name="image/vnd.wap.wbmp" /> | |
246 | </filter> | |
247 | </item> | |
248 | <item name="com.google.android.apps.plus/.editor.PlusCropActivity"> | |
249 | <filter> | |
250 | <action name="com.android.camera.action.CROP" /> | |
251 | <cat name="android.intent.category.DEFAULT" /> | |
252 | <type name="image/bmp" /> | |
253 | <type name="image/jpeg" /> | |
254 | <type name="image/gif" /> | |
255 | <type name="image/png" /> | |
256 | <type name="image/webp" /> | |
257 | <type name="image/x-ms-bmp" /> | |
258 | <type name="image/vnd.wap.wbmp" /> | |
259 | </filter> | |
260 | </item> | |
261 | <item name="com.google.android.apps.plus/.phone.ConversationListActivity"> | |
262 | <filter> | |
263 | <action name="android.intent.action.MAIN" /> | |
264 | <cat name="android.intent.category.APP_GALLERY" /> | |
265 | <cat name="android.intent.category.DEFAULT" /> | |
266 | </filter> | |
267 | </item> | |
268 | <item name="com.google.android.apps.plus/.phone.VideoViewActivity"> | |
269 | <filter> | |
270 | <action name="android.intent.action.VIEW" /> | |
271 | <cat name="android.intent.category.DEFAULT" /> | |
272 | <cat name="android.intent.category.BROWSABLE" /> | |
273 | <scheme name="http" /> | |
274 | <scheme name="https" /> | |
275 | <scheme name="content" /> | |
276 | <scheme name="file" /> | |
277 | <type name="video/mpeg4" /> | |
278 | <type name="video/mp4" /> | |
279 | <type name="video/3gp" /> | |
280 | <type name="video/3gpp" /> | |
281 | <type name="video/3gpp2" /> | |
282 | <type name="video/webm" /> | |
283 | <type name="video/avi" /> | |
284 | <type name="audio/x-mpegurl" /> | |
285 | <type name="audio/mpegurl" /> | |
286 | <type name="application/sdp" /> | |
287 | <type name="application/vnd.apple.mpegurl" /> | |
288 | <type name="application/x-mpegurl" /> | |
289 | </filter> | |
290 | </item> | |
291 | <item name="com.google.android.apps.plus/.phone.VideoViewActivity"> | |
292 | <filter> | |
293 | <action name="android.intent.action.VIEW" /> | |
294 | <cat name="android.intent.category.BROWSABLE" /> | |
295 | <cat name="android.intent.category.DEFAULT" /> | |
296 | <scheme name="rtsp" /> | |
297 | </filter> | |
298 | </item> | |
299 | <item name="com.google.android.apps.docs.editors.sheets/com.google.android.apps.docs.openurl.TrixOpenUrlActivityAlias"> | |
300 | <filter> | |
301 | <action name="android.intent.action.VIEW" /> | |
302 | <cat name="android.intent.category.BROWSABLE" /> | |
303 | <cat name="android.intent.category.DEFAULT" /> | |
304 | <scheme name="http" /> | |
305 | <scheme name="https" /> | |
306 | <auth host="spreadsheets.google.com" /> | |
307 | </filter> | |
308 | </item> | |
309 | <item name="com.google.android.apps.docs.editors.sheets/com.google.android.apps.docs.openurl.TrixOpenUrlActivityAlias"> | |
310 | <filter> | |
311 | <action name="android.intent.action.VIEW" /> | |
312 | <cat name="android.intent.category.BROWSABLE" /> | |
313 | <cat name="android.intent.category.DEFAULT" /> | |
314 | <scheme name="http" /> | |
315 | <scheme name="https" /> | |
316 | <auth host="docs.google.com" /> | |
317 | <path sglob="/spreadsheet/.*" /> | |
318 | <path sglob="/a/.*/spreadsheet/.*" /> | |
319 | <path sglob="/spreadsheets/d/.*" /> | |
320 | <path sglob="/a/.*/spreadsheets/d/.*" /> | |
321 | </filter> | |
322 | </item> | |
323 | <item name="com.google.android.apps.docs.editors.slides/com.google.android.apps.docs.openurl.PunchOpenUrlActivityAlias"> | |
324 | <filter> | |
325 | <action name="android.intent.action.VIEW" /> | |
326 | <cat name="android.intent.category.BROWSABLE" /> | |
327 | <cat name="android.intent.category.DEFAULT" /> | |
328 | <scheme name="http" /> | |
329 | <scheme name="https" /> | |
330 | <auth host="slides.google.com" /> | |
331 | </filter> | |
332 | </item> | |
333 | <item name="com.google.android.apps.docs.editors.slides/com.google.android.apps.docs.openurl.PunchOpenUrlActivityAlias"> | |
334 | <filter> | |
335 | <action name="android.intent.action.VIEW" /> | |
336 | <cat name="android.intent.category.BROWSABLE" /> | |
337 | <cat name="android.intent.category.DEFAULT" /> | |
338 | <scheme name="http" /> | |
339 | <scheme name="https" /> | |
340 | <auth host="docs.google.com" /> | |
341 | <path sglob="/present/.*" /> | |
342 | <path sglob="/a/.*/present/.*" /> | |
343 | <path sglob="/presentation/.*" /> | |
344 | <path sglob="/a/.*/presentation/.*" /> | |
345 | </filter> | |
346 | </item> | |
347 | <item name="com.google.android.apps.docs.editors.docs/com.google.android.apps.docs.openurl.KixOpenUrlActivityAlias"> | |
348 | <filter> | |
349 | <action name="android.intent.action.VIEW" /> | |
350 | <cat name="android.intent.category.BROWSABLE" /> | |
351 | <cat name="android.intent.category.DEFAULT" /> | |
352 | <scheme name="http" /> | |
353 | <scheme name="https" /> | |
354 | <auth host="docs.google.com" /> | |
355 | <path sglob="/document/.*" /> | |
356 | <path sglob="/a/.*/document/.*" /> | |
357 | <path sglob="/Doc" /> | |
358 | <path sglob="/a/.*/Doc" /> | |
359 | <path sglob="/View" /> | |
360 | <path sglob="/a/.*/View" /> | |
361 | </filter> | |
362 | </item> | |
363 | <item name="com.google.android.apps.docs.editors.sheets/com.google.android.apps.docs.editors.trix.quicksheet.QuickSheetDocumentOpenerActivityAlias"> | |
364 | <filter> | |
365 | <action name="android.intent.action.EDIT" /> | |
366 | <cat name="android.intent.category.DEFAULT" /> | |
367 | <type name="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" /> | |
368 | <type name="application/vnd.ms-excel.sheet.macroenabled.12" /> | |
369 | <type name="application/vnd.ms-excel" /> | |
370 | <type name="application/vnd.ms-excel.addin.macroenabled.12" /> | |
371 | <type name="application/vnd.ms-excel.template.macroenabled.12" /> | |
372 | <type name="application/vnd.openxmlformats-officedocument.spreadsheetml.template" /> | |
373 | <type name="application/x-msexcel" /> | |
374 | </filter> | |
375 | </item> | |
376 | <item name="com.google.android.apps.docs.editors.docs/com.google.android.apps.docs.editors.kix.quickword.QuickWordDocumentOpenerActivityAlias"> | |
377 | <filter> | |
378 | <action name="android.intent.action.EDIT" /> | |
379 | <cat name="android.intent.category.DEFAULT" /> | |
380 | <type name="application/vnd.ms-word" /> | |
381 | <type name="application/vnd.openxmlformats-officedocument.wordprocessingml.document" /> | |
382 | <type name="application/vnd.ms-word.document.macroenabled.12" /> | |
383 | <type name="application/msword" /> | |
384 | <type name="application/vnd.ms-word.template.macroenabled.12" /> | |
385 | <type name="application/vnd.openxmlformats-officedocument.wordprocessingml.template" /> | |
386 | <type name="application/x-msword" /> | |
387 | </filter> | |
388 | </item> | |
389 | <item name="com.google.android.apps.docs.editors.slides/com.google.android.apps.docs.editors.kix.quickword.QuickWordDocumentOpenerActivityAlias"> | |
390 | <filter> | |
391 | <action name="android.intent.action.EDIT" /> | |
392 | <cat name="android.intent.category.DEFAULT" /> | |
393 | <type name="application/vnd.openxmlformats-officedocument.presentationml.presentation" /> | |
394 | <type name="application/vnd.ms-powerpoint" /> | |
395 | <type name="application/vnd.openxmlformats-officedocument.presentationml.template" /> | |
396 | <type name="application/vnd.ms-powerpoint.presentation.macroenabled.12" /> | |
397 | <type name="application/vnd.openxmlformats-officedocument.presentationml.slideshow" /> | |
398 | <type name="application/vnd.ms-powerpoint.slideshow.macroenabled.12" /> | |
399 | <type name="application/x-mspowerpoint" /> | |
400 | ||
401 | </filter> | |
402 | </item> | |
403 | </preferred-activities> |