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>Flashlight</name>
22    <group>Wearable</group>
23    <package>com.example.android.wearable.flashlight</package>
24
25    <minSdk>18</minSdk>
26    <targetSdkVersion>23</targetSdkVersion>
27    <targetSdkVersionWear>22</targetSdkVersionWear>
28
29    <strings>
30        <intro>
31            <![CDATA[
32            Wearable activity that uses your wearable screen as a flashlight. There is also
33            a party-mode option (swipe left), if you want to make things interesting.
34            ]]>
35        </intro>
36    </strings>
37
38    <metadata>
39        <status>DEPRECATED</status>
40        <categories>Wearable</categories>
41        <technologies>Android</technologies>
42        <language>Java</language>
43        <solutions>Mobile</solutions>
44        <level>BEGINNER</level>
45        <icon>screenshots/icon-web.png</icon>
46        <screenshots>
47            <img>screenshots/flashlight.png</img>
48            <img>screenshots/party_mode.gif</img>
49        </screenshots>
50        <api_refs>
51            <android>android.app.Activity</android>
52            <android>android.app.Fragment</android>
53            <android>android.support.v4.view.ViewPager</android>
54        </api_refs>
55        <description>
56<![CDATA[
57Sample demonstrating the use of an Activity in a wearable application. The
58sample uses the screen as a flashlight.
59]]>
60        </description>
61        <intro>
62<![CDATA[
63Sample demonstrating the use of an Activity in a wearable application. The
64sample also demonstrates using a ViewPager allowing the user to swipe between
65Fragments.
66
67Swipe left to reveal a multi colored flashlight, swipe right to return to the
68white flashlight.
69]]>
70        </intro>
71    </metadata>
72
73    <template src="base-build" />
74    <template src="Wear"/>
75</sample>
76