• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.google/22-Nov-2023-148

Application/22-Nov-2023-1,037581

Shared/22-Nov-2023-208107

Wearable/22-Nov-2023-1,222750

gradle/wrapper/22-Nov-2023-76

CONTRIB.mdD22-Nov-20231.6 KiB3627

CONTRIBUTING.mdD22-Nov-20231.5 KiB3627

LICENSED22-Nov-202331.5 KiB648514

READMED22-Nov-2023554 139

README.mdD22-Nov-20232.2 KiB6044

build.gradleD22-Nov-202314 150

gradle.propertiesD22-Nov-2023853 1814

gradlewD22-Nov-20235 KiB165122

gradlew.batD22-Nov-20232.3 KiB9166

settings.gradleD22-Nov-202348 31

README

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

README.md

1
2Android Speed Tracker Sample
3===================================
4
5This sample uses the FusedLocation APIs of Google Play Services
6on those devices that have a hardware GPS built in. In those
7cases, this sample provides a simple screen that shows the
8current speed of the device on the watch. User can set a speed
9limit and if the speed approaches that limit, it changes the
10color to yellow and if it exceeds the limit, it turns red. User
11can also enable recording of coordinates and when it pairs back
12with the phone, this data will be synced with the phone
13component of the app and user can see a track made of those
14coordinates on a map on the phone.
15
16Pre-requisites
17--------------
18
19- Android SDK 23
20- Android Build Tools v23.0.3
21- Android Support Repository
22
23Getting Started
24---------------
25
26This sample uses the Gradle build system. To build this project, use the
27"gradlew build" command or use "Import Project" in Android Studio.
28
29Support
30-------
31
32- Google+ Community: https://plus.google.com/communities/105153134372062985968
33- Stack Overflow: http://stackoverflow.com/questions/tagged/android
34
35If you've found an error in this sample, please file an issue:
36https://github.com/googlesamples/android-Speed Tracker
37
38Patches are encouraged, and may be submitted by forking this project and
39submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.
40
41License
42-------
43
44Copyright 2016 The Android Open Source Project, Inc.
45
46Licensed to the Apache Software Foundation (ASF) under one or more contributor
47license agreements.  See the NOTICE file distributed with this work for
48additional information regarding copyright ownership.  The ASF licenses this
49file to you under the Apache License, Version 2.0 (the "License"); you may not
50use this file except in compliance with the License.  You may obtain a copy of
51the License at
52
53http://www.apache.org/licenses/LICENSE-2.0
54
55Unless required by applicable law or agreed to in writing, software
56distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
57WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
58License for the specific language governing permissions and limitations under
59the License.
60