1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 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<shortcuts xmlns:android="http://schemas.android.com/apk/res/android" >
17    <shortcut
18        android:shortcutId="ms1"
19        android:enabled="true"
20        android:icon="@drawable/icon1"
21        android:shortcutShortLabel="@string/shortcut_title1"
22        android:shortcutLongLabel="@string/shortcut_text1"
23        android:shortcutDisabledMessage="@string/shortcut_disabled_message1"
24        >
25        <intent
26            android:action="action1"
27            android:data="http://a.b.c/1"
28            >
29        </intent>
30        <categories android:name="android.shortcut.conversation" />
31        <categories android:name="android.shortcut.media" />
32    </shortcut>
33    <shortcut
34        android:shortcutId="ms2"
35        android:enabled="true"
36        android:icon="@drawable/icon2"
37        android:shortcutShortLabel="@string/shortcut_title2"
38        android:shortcutLongLabel="@string/shortcut_text2"
39        android:shortcutDisabledMessage="@string/shortcut_disabled_message2"
40        >
41        <intent
42            android:action="action2"
43            >
44        </intent>
45        <categories android:name="android.shortcut.conversation" />
46    </shortcut>
47    <shortcut
48        android:shortcutId="ms3"
49        android:shortcutShortLabel="@string/shortcut_title1"
50        >
51        <intent
52            android:action="android.intent.action.VIEW"
53            >
54        </intent>
55    </shortcut>
56    <shortcut
57        android:shortcutId="ms4"
58        android:shortcutShortLabel="@string/shortcut_title2"
59        >
60        <intent
61            android:action="android.intent.action.VIEW2"
62            >
63        </intent>
64        <categories />
65        <categories android:name="" />
66        <categories android:name="cat" />
67    </shortcut>
68    <shortcut
69        android:shortcutId="ms5"
70        android:shortcutShortLabel="@string/shortcut_title1"
71        >
72        <intent
73            android:action="action"
74            android:data="http://www/"
75            android:targetPackage="abc"
76            android:targetClass=".xyz"
77            android:mimeType="foo/bar"
78            >
79            <categories android:name="cat1" />
80            <categories android:name="cat2" />
81            <extra android:name="key1" android:value="value1" />
82            <extra android:name="key2" android:value="value2" />
83        </intent>
84    </shortcut>
85</shortcuts>
86