README.md
1 Android AgendaData Sample
2 ===================================
3
4 Sample demonstrating sync of calendar events to a wearable by the press of a button.
5
6 Introduction
7 ------------
8
9 Using the Wearable [DataApi][1] allows to transmit data such as event time,
10 description, and background image.
11
12 The sent [DataItems][2] can be deleted individually via an action on the event notifications,
13 or all at once via a button on the companion.
14
15 When deleted using the notification action, a ConfirmationActivity is used to indicate
16 success or failure. The sample shows implementations for both the success as well failure case.
17
18 [1]: https://developer.android.com/reference/com/google/android/gms/wearable/DataApi.html
19 [2]: https://developer.android.com/reference/com/google/android/gms/wearable/DataItem.html
20
21 Pre-requisites
22 --------------
23
24 - Android SDK v21
25 - Android Build Tools v21.1.1
26 - Android Support Repository
27
28 Screenshots
29 -------------
30
31 <img src="screenshots/companion_agenda_data.png" height="400" alt="Screenshot"/> <img src="screenshots/dummy_calendar_event.png" height="400" alt="Screenshot"/>
32
33 Getting Started
34 ---------------
35
36 This sample uses the Gradle build system. To build this project, use the
37 "gradlew build" command or use "Import Project" in Android Studio.
38
39 Support
40 -------
41
42 - Google+ Community: https://plus.google.com/communities/105153134372062985968
43 - Stack Overflow: http://stackoverflow.com/questions/tagged/android
44
45 If you've found an error in this sample, please file an issue:
46 https://github.com/googlesamples/android-AgendaData
47
48 Patches are encouraged, and may be submitted by forking this project and
49 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.
50
51 License
52 -------
53
54 Copyright 2014 The Android Open Source Project, Inc.
55
56 Licensed to the Apache Software Foundation (ASF) under one or more contributor
57 license agreements. See the NOTICE file distributed with this work for
58 additional information regarding copyright ownership. The ASF licenses this
59 file to you under the Apache License, Version 2.0 (the "License"); you may not
60 use this file except in compliance with the License. You may obtain a copy of
61 the License at
62
63 http://www.apache.org/licenses/LICENSE-2.0
64
65 Unless required by applicable law or agreed to in writing, software
66 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
67 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
68 License for the specific language governing permissions and limitations under
69 the License.
70