aosp12/developers/samples/android/wearable/wear/SpeedTracker
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
Application init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Shared init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Wearable init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
buildSrc init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
gradle/wrapper init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
.gitignore init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
CONTRIB.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
build.gradle init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
gradle.properties init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
gradlew init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
gradlew.bat init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
settings.gradle init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
template-params.xml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README

In order to run this application, you need to install the
wearable apk on a device that has GPS capabilities in
hardware. In addition, you need to obtain an API key for
using Map v2 APIs, see the following link for the details:
https://developers.google.com/maps/documentation/android/start#get_an_android_certificate_and_the_google_maps_api_key
After getting the key, find the following line in
Application/src/main/res/values/strings.xml:

<string name="map_v2_api_key">YOUR_MAP_V2_API_KEY</string>

and replace YOUR_MAP_V2_API_KEY with your own key.