1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright 2013 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
20<sample>
21    <name>AgendaData</name>
22    <group>Wearable</group>
23    <package>com.example.android.wearable.agendadata</package>
24
25    <minSdk>18</minSdk>
26    <targetSdkVersion>27</targetSdkVersion>
27    <minSdkVersionWear>23</minSdkVersionWear>
28    <targetSdkVersionWear>27</targetSdkVersionWear>
29    <compileSdkVersionWear>27</compileSdkVersionWear>
30
31    <dependency>com.android.support:design:27.1.0</dependency>
32
33
34    <wearable>
35        <has_handheld_app>true</has_handheld_app>
36    </wearable>
37
38    <strings>
39        <intro>
40            <![CDATA[
41            This sample is deprecated, please review the DataLayer sample to understand how to
42            transfer data between mobile and wear devices.
43
44            Syncs calendar events to your wearable at the press of a button, using the Wearable
45            DataApi to transmit data such as event time, description, and background image. The
46            DataItems can be deleted individually via an action on the event notifications, or all
47            at once via a button on the companion. When deleted using the notification action, a
48            ConfirmationActivity is used to indicate success or failure.
49            ]]>
50        </intro>
51    </strings>
52
53    <template src="base"/>
54    <template src="Wear"/>
55    <metadata>
56        <status>DEPRECATED</status>
57        <categories>Wearable</categories>
58        <technologies>Android</technologies>
59        <languages>Java</languages>
60        <solutions>Mobile</solutions>
61        <level>INTERMEDIATE</level>
62        <icon>Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png</icon>
63        <screenshots>
64            <img>screenshots/companion_agenda_data.png</img>
65            <img>screenshots/dummy_calendar_event.png</img>
66        </screenshots>
67        <api_refs>
68            <android>android.app.IntentService</android>
69            <ext>gms:com.google.android.gms.wearable.DataApi</ext>
70            <ext>gms:com.google.android.gms.wearable.Node</ext>
71        </api_refs>
72        <description>
73<![CDATA[
74Sample demonstrating sync of calendar events to a wearable by the press of a button.
75]]>
76        </description>
77        <intro>
78<![CDATA[
79This sample is deprecated, please review the [DataLayer sample][3] to understand how to
80transfer data between mobile and wear devices.
81
82Using the Wearable [DataApi][1] allows to transmit data such as event time,
83description, and background image.
84
85The sent [DataItems][2] can be deleted individually via an action on the event notifications,
86or all at once via a button on the companion.
87
88When deleted using the notification action, a ConfirmationActivity is used to indicate
89success or failure. The sample shows implementations for both the success as well failure case.
90
91[1]: https://developer.android.com/reference/com/google/android/gms/wearable/DataApi.html
92[2]: https://developer.android.com/reference/com/google/android/gms/wearable/DataItem.html
93[3]: https://github.com/googlesamples/android-DataLayer
94]]>
95        </intro>
96    </metadata>
97</sample>
98