The watch face service that makes use of the what3words Global Addressing System API on Android Wear powered devices. It performs forward and reverse geocoding to display your current location as a 3word address, and to navigate to a 3word address entered via the speech recognition. Displays real time navigation data on the watch screen.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.google Initial commit Apr 11, 2017
.idea Update to comments Apr 12, 2017
Application Update to comments Apr 12, 2017
Wearable Update to comments Apr 12, 2017
gradle/wrapper Initial commit Apr 11, 2017
.gitignore Initial commit Apr 11, 2017
LICENSE Initial commit Apr 11, 2017
README.md Initial commit Apr 11, 2017
WordsWatchFace.iml Initial commit Apr 11, 2017
build.gradle
gradlew Initial commit Apr 11, 2017
gradlew.bat Initial commit Apr 11, 2017
settings.gradle

README.md

Words Watch Face

Note

This is my very first attempt to publishing a project on github, and I'm highly unlikely to have it done 100% well. I'll be grateful for pointing out mistakes, as well as for advices of any kind. Thanks!

About the app

The Words watch face is an attempt to make use of the what3words Global Addressing System API on Android Wear powered watches. It uses forward and reverse geocoding to display your current location as a 3 word address, and to find locations entered as 3 words address, via the speech recognition. Once found, the location is being set as the target, and the watch starts displaying real time navigation data in three on-screen widgets.

For the what3words API to work, you'll have to sign up for a free API key.

The bottom widget on the watch, touched during navigation, displays the Google map including yours position and the target. For this feature to work, you will need a valid Google Maps API key.

Use of API keys

In the Application module res -> values -> strings find the line to enter your what3words API key:

<string name="api_key_what3words" translatable="false">YOUR_API_KEY_HERE</string>

In the Wearable module res -> values -> strings find the line to enter your Google Maps API key:

<string name="api_key_google_maps" translatable="false">YOUR_GOOGLE_MAPS_KEY_HERE</string>

Contact

License

Copyright 2017 Piotr Miller (nwg)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

This project bases on the sample code provided by The Android Open Source Project (https://github.com/googlesamples/android-WatchFace),

Copyright 2016 The Android Open Source Project, Inc.

licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.