/Sunshine_for_Wear

An Android weather app with an Android Wear companion.

Primary LanguageJavaApache License 2.0Apache-2.0

Sunshine for Wear

This is the repository for the weather app that students build during the Developing Android Apps course at Udacity. It extends it using Android Wear.

Required Behavior

  • App works on both round and square face watches.

  • App displays the current time.

  • App displays the high and low temperatures.

  • App displays a graphic that summarizes the day’s weather (e.g., a sunny image, rainy image, cloudy image, etc.).

  • Watch face obtains weather data by talking with a copy of Sunshine running on a device paired to the watch.

  • App conforms to common standards found in the Android Nanodegree General Project Guidelines.

square watchface

Example of a square watchface

round watchface

Example of a round watchface

final watchface

Final watchface

Tips for connecting to emulator

  • Create an Android Wear AVD in Android studio and run it

  • Install the Android Wear app from Google Play on a physical device and plug it into your machine via USB

  • Forward the AVD's communication port to the connected phone (you must do this every time the phone is connected): adb -d forward tcp:5601 tcp:5601

  • Start the Android Wear app on your phone and connect to the emulator.

For more detailed information, see this link.