Skip to content

pheuter/Weather-Report

Repository files navigation

Weather Report

Blog Post Guide

Prompt

Activity

Very basic Glassware that displays temperature and reads aloud weather description for a given city.

Uses Open Weather Map API to fetch basic weather data.

Dependencies

App - These dependencies are used by the main application

$ ./gradlew app:dependencies --configuration compile
  > com.mcxiaoke.volley:library:1.0.+ -> 1.0.3

Test - These additional dependencies are used solely for testing

$ ./gradlew app:dependencies --configuration androidTestCompile
  > org.hamcrest:hamcrest-all:1.3

Installation

Connect your Google Glass device and run:

$ ./gradlew installDebug

Tests

Unit tests are written using JUnit 3 and Hamcrest.

To run the test suite, connect your Glass and execute:

$ ./gradlew connectedAndroidTest