Home | History | Annotate | Download | only in AgendaData
      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 
     26 
     27     <!-- change minSdk if needed-->
     28     <minSdk>18</minSdk>
     29 
     30 
     31     <strings>
     32         <intro>
     33             <![CDATA[
     34             Syncs calendar events to your wearable at the press of a button, using the Wearable
     35             DataApi to transmit data such as event time, description, and background image. The DataItems can be
     36             deleted individually via an action on the event notifications, or all at once via a button on the
     37             companion. When deleted using the notification action, a ConfirmationActivity is used to indicate
     38             success or failure.
     39             ]]>
     40         </intro>
     41     </strings>
     42 
     43     <template src="base"/>
     44     <template src="Wear"/>
     45     <metadata>
     46         <status>PUBLISHED</status>
     47         <categories>Wearable</categories>
     48         <technologies>Android</technologies>
     49         <languages>Java</languages>
     50         <solutions>Mobile</solutions>
     51         <level>INTERMEDIATE</level>
     52         <icon>Wearable/src/main/res/drawable-xxhdpi/ic_launcher.png</icon>
     53         <screenshots>
     54             <img>screenshots/companion_agenda_data.png</img>
     55             <img>screenshots/dummy_calendar_event.png</img>
     56         </screenshots>
     57         <api_refs>
     58             <android>android.app.IntentService</android>
     59             <ext>com.google.android.gms.wearable.DataApi</ext>
     60             <ext>com.google.android.gms.wearable.Node</ext>
     61         </api_refs>
     62         <description>
     63 <![CDATA[
     64 Sample demonstrating sync of calendar events to a wearable by the press of a button.
     65 ]]>
     66         </description>
     67         <intro>
     68 <![CDATA[
     69 Using the Wearable [DataApi][1] allows to transmit data such as event time,
     70 description, and background image.
     71 
     72 The sent [DataItems][2] can be deleted individually via an action on the event notifications,
     73 or all at once via a button on the companion.
     74 
     75 When deleted using the notification action, a ConfirmationActivity is used to indicate
     76 success or failure. The sample shows implementations for both the success as well failure case.
     77 
     78 [1]: https://developer.android.com/reference/com/google/android/gms/wearable/DataApi.html
     79 [2]: https://developer.android.com/reference/com/google/android/gms/wearable/DataItem.html
     80 ]]>
     81         </intro>
     82     </metadata>
     83 </sample>
     84