This project is part of the Udacity Android Developer Nanodegree.
Project Overview
In this project, you will build a wearable watch face for Sunshine to run on an Android Wear device.
Why this Project?
Android Wear is an exciting way to integrate your app more directly into users’ lives. As a new developer, it will be important for you to understand how to perform this integration. This project gives you an opportunity to design a companion app for Sunshine, tying it to a watch face in order to enrich the experience.
What Will I Learn?
Through this project, you will:
• Understand the fundamentals of Android Wear.
• Design for multiple watch form factors.
• Communicate between a mobile device and a wearable device.
-
Clone the repository.
-
Add google-services.json created by firebase console. Make sure the package is correctly set.
-
Create gradle.properties in the root folder.
-
Initialize the following variables in the file.
MyOpenWeatherMapApiKey = "[YOUR_API_KEY_HERE]" MyGeoApiKey = "[YOUR_API_KEY_HERE]"
You can get an API_KEY from Open Weather Map
To test the wearable app you can use refresh menu item in the main activity, which sends data item to the wearable. By default, it phone sends data every 3 hours and when there is a change in the weather data.
- Refactor the initial code.
- Create mocks for watchFace.
- Code UI reflecting mocks.
- Display dummy data.
- Fetch real data from phone and display it.
- Add configuration to change background. (
Partially complete
). - Make battery saving optimizations.
- Test for rubric specifications.
- Implement listener on phone and make wearable request data on startup.
- Add simple animations.
Copyright 2016 Gurupad Mamadapur
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.