Home | History | Annotate | only in /developers/build/prebuilts/gradle/SpeedTracker
Up to higher level directory
NameDateSize
.google/21-Aug-2018
Application/21-Aug-2018
build.gradle21-Aug-201814
CONTRIB.md21-Aug-20181.6K
CONTRIBUTING.md21-Aug-20181.5K
gradle/21-Aug-2018
gradle.properties21-Aug-2018853
gradlew21-Aug-20185K
gradlew.bat21-Aug-20182.3K
LICENSE21-Aug-201811.1K
README21-Aug-2018554
README.md21-Aug-20182.5K
settings.gradle21-Aug-201848
Shared/21-Aug-2018
Wearable/21-Aug-2018

README

      1 In order to run this application, you need to install the
      2 wearable apk on a device that has GPS capabilities in
      3 hardware. In addition, you need to obtain an API key for
      4 using Map v2 APIs, see the following link for the details:
      5 https://developers.google.com/maps/documentation/android/start#get_an_android_certificate_and_the_google_maps_api_key
      6 After getting the key, find the following line in
      7 Application/src/main/res/values/strings.xml:
      8 
      9 <string name="map_v2_api_key">YOUR_MAP_V2_API_KEY</string>
     10 
     11 and replace YOUR_MAP_V2_API_KEY with your own key.
     12 
     13 

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 27
     29 - Android Build Tools v27.0.2
     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