1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright 2013 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<resources> 19 <string name="app_name">WatchFace</string> 20 <string name="intro_message"> 21 <![CDATA[ 22 23 24This sample demonstrates how to create watch faces for android wear and includes a phone app 25and a wearable app. The wearable app has a variety of watch faces including analog, digital, 26opengl, calendar, steps, interactive, etc. It also includes a watch-side configuration example. 27The phone app includes a phone-side configuration example. 28 29Because watch face apps do not have a default Activity in their project, you will need to set your 30Configurations to "Do not launch Activity" for both the Wear and Application modules. If you are 31unsure how to do this, please review the "Run Starter project" section in the 32[Google Watch Face Code Lab][1]. 33 34For the Fit Distance related watch face, authentication IS a requirement to request distance from 35Google Fit on Wear. Otherwise, distance will always come back as zero (or stay at whatever the 36distance was prior to you de-authorizing the watch face). 37 38To authenticate and communicate with Google Fit, you must create a project in the Google Developers 39Console, activate the Fitness API, create an OAuth 2.0 client ID, and register the public 40certificate from your signed APK. More details can be found [here][2]. 41 42If the user has not installed or setup the Google Fit app on their phone and their Wear device has 43not configured the Google Fit Wear App, then you may get zero steps until one of the two is setup. 44Please note, many Wear devices configure the Google Fit Wear App beforehand. 45 46[1]: https://codelabs.developers.google.com/codelabs/watchface/index.html 47[2]: https://developers.google.com/fit/android/get-started#step_3_enable_the_fitness_api 48 49 50 ]]> 51 </string> 52</resources> 53