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>Quiz</name> 22 <group>Wearable</group> 23 <package>com.example.android.wearable.quiz</package> 24 25 <minSdk>18</minSdk> 26 <targetSdkVersion>23</targetSdkVersion> 27 <targetSdkVersionWear>22</targetSdkVersionWear> 28 29 <wearable> 30 <has_handheld_app>true</has_handheld_app> 31 </wearable> 32 33 <strings> 34 <intro> 35 <![CDATA[ 36 This sample uses Google Play Services Wearable Data APIs to communicate between 37 applications on a phone and a paired wearable device. Users can create quiz questions on the phone, 38 each of which has an associated DataItem. These DataItems are then received on the wearable, which 39 displays them as notifications. Each notification contains the question as the first page, followed 40 by answers as actions. When an answer is selected, the corresponding question\'s DataItem is updated, 41 which allows the phone application to update the status of the question (i.e. did the user answer it 42 correctly or not) and prompt the next question. 43 ]]> 44 </intro> 45 </strings> 46 47 <template src="base"/> 48 <template src="Wear"/> 49 <metadata> 50 <status>DEPRECATED</status> 51 <categories>Wearable</categories> 52 </metadata> 53 54 </sample> 55