• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2Android WatchFace Sample
3===================================
4
5This sample demonstrates how to create watch faces for android wear and includes a phone app
6and a wearable app. The wearable app has a variety of watch faces including analog, digital,
7opengl, calendar, steps, interactive, etc. It also includes a watch-side configuration example.
8The phone app includes a phone-side configuration example.
9
10Additional note on Steps WatchFace Sample, if the user has not installed or setup the Google Fit app
11on their phone and their Wear device has not configured the Google Fit Wear App, then you may get
12zero steps until one of the two is setup. Please note, many Wear devices configure the Google Fit
13Wear App beforehand.
14
15Pre-requisites
16--------------
17
18- Android SDK 24
19- Android Build Tools v24.0.1
20- Android Support Repository
21
22Getting Started
23---------------
24
25This sample uses the Gradle build system. To build this project, use the
26"gradlew build" command or use "Import Project" in Android Studio.
27
28Support
29-------
30
31- Google+ Community: https://plus.google.com/communities/105153134372062985968
32- Stack Overflow: http://stackoverflow.com/questions/tagged/android
33
34If you've found an error in this sample, please file an issue:
35https://github.com/googlesamples/android-WatchFace
36
37Patches are encouraged, and may be submitted by forking this project and
38submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.
39
40License
41-------
42
43Copyright 2016 The Android Open Source Project, Inc.
44
45Licensed to the Apache Software Foundation (ASF) under one or more contributor
46license agreements.  See the NOTICE file distributed with this work for
47additional information regarding copyright ownership.  The ASF licenses this
48file to you under the Apache License, Version 2.0 (the "License"); you may not
49use this file except in compliance with the License.  You may obtain a copy of
50the License at
51
52http://www.apache.org/licenses/LICENSE-2.0
53
54Unless required by applicable law or agreed to in writing, software
55distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
56WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
57License for the specific language governing permissions and limitations under
58the License.
59