README
README.md
1
2 Android SpeedTracker Sample
3 ===================================
4
5 Sample demonstrates recording location and speed with a Wear device in mind. Location is
6 retrieved via FusedLocatinProvider which retrieves coordinates from the phone or Wear
7 depending on whether the phone is disconnected or not and whether the Wear device has a
8 GPS chip.
9
10 Introduction
11 ------------
12
13 Steps for trying out this sample:
14 * Compile and install the mobile app onto your mobile device or emulator.
15 * Compile and install the wearable app onto your Wear device or emulator.
16 (**Note:** wearable apps are not automatically pushed from your mobile device
17 unless you build a production release, see [here][1] for more info).
18
19 Sample demonstrates retrieving location and speed samples on Wear using the FusedLocationProvider.
20 It also passes GPS location information back to the mobile device via the Data Layer to be rendered
21 on a Map Fragment.
22
23 [1]: https://developer.android.com/training/wearables/apps/creating.html#Install
24
25 Pre-requisites
26 --------------
27
28 - Android SDK 25
29 - Android Build Tools v25.0.3
30 - Android Support Repository
31
32 Getting Started
33 ---------------
34
35 This sample uses the Gradle build system. To build this project, use the
36 "gradlew build" command or use "Import Project" in Android Studio.
37
38 Support
39 -------
40
41 - Google+ Community: https://plus.google.com/communities/105153134372062985968
42 - Stack Overflow: http://stackoverflow.com/questions/tagged/android
43
44 If you've found an error in this sample, please file an issue:
45 https://github.com/googlesamples/android-SpeedTracker
46
47 Patches are encouraged, and may be submitted by forking this project and
48 submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.
49
50 License
51 -------
52
53 Copyright 2017 The Android Open Source Project, Inc.
54
55 Licensed to the Apache Software Foundation (ASF) under one or more contributor
56 license agreements. See the NOTICE file distributed with this work for
57 additional information regarding copyright ownership. The ASF licenses this
58 file to you under the Apache License, Version 2.0 (the "License"); you may not
59 use this file except in compliance with the License. You may obtain a copy of
60 the License at
61
62 http://www.apache.org/licenses/LICENSE-2.0
63
64 Unless required by applicable law or agreed to in writing, software
65 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
66 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
67 License for the specific language governing permissions and limitations under
68 the License.
69