• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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>Speed Tracker</name>
22    <group>Wearable</group>
23    <package>com.example.android.wearable.speedtracker</package>
24
25    <minSdk>18</minSdk>
26    <targetSdkVersion>22</targetSdkVersion>
27
28    <wearable>
29        <has_handheld_app>true</has_handheld_app>
30    </wearable>
31
32    <dependency>com.google.android.gms:play-services-location:7.3.0</dependency>
33    <dependency_wearable>com.google.android.gms:play-services-location:7.3.0</dependency_wearable>
34
35
36    <strings>
37        <intro>
38            <![CDATA[
39This sample uses the FusedLocation APIs of Google Play Services
40on those devices that have a hardware GPS built in. In those
41cases, this sample provides a simple screen that shows the
42current speed of the device on the watch. User can set a speed
43limit and if the speed approaches that limit, it changes the
44color to yellow and if it exceeds the limit, it turns red. User
45can also enable recording of coordinates and when it pairs back
46with the phone, this data will be synced with the phone
47component of the app and user can see a track made of those
48coordinates on a map on the phone.
49            ]]>
50        </intro>
51    </strings>
52
53    <template src="base"/>
54    <template src="WearPlusShared"/>
55
56</sample>
57