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