Code Monkey home page Code Monkey logo

rainydays's Introduction

Rainy Days

License

A simple app that shows you how much it has rained, using data from NOAA weather stations.

Download from the Play Store.

Features

  • Choose the weather station closest to you or pick on a map
  • View the amount it has rained as far back as you care to scroll
  • Metric or Imperial units

Notes

  • NOAA's rain data is not always up-to-date. The latest data may be from a week ago.
  • Since publishing this app, the NOAA weather station API to find new weather stations stopped working consistently. To test the app, use the sample locations. Hopefully NOAA fixes the issue soon.

Manual Installation

  1. Clone this repository
  2. Open with Android Studio version 3.4 or higher (a lower version will work too, but you'll have to modify the gradle plugin versions)
  3. Click Run

The map place picker requires two Google API keys to work. The app will work without them, but you will only be able to use your current location.

Steps to add API keys:

  1. Navigate here: https://console.developers.google.com/apis
  2. Create a new project in the upper left or select an existing project
  3. In APIs and Services, click "Enable APIs and Services"
  4. Enable the Places API, Maps SDK for Android, and Geocoding API
  5. Go to "Credentials", "Create credentials", "API key"
  6. Click "RESTRICT KEY" and under "API Restrictions" select Places and Maps
  7. Create another API key and this time select "Geocoding" as the restriction
  8. In app/src/main/res/values/keys.xml, copy/paste your API keys

Note: You will need to enable billing for geocoding (autocomplete) to work more than once.

Future plans

Since this app was created as a demo app, it is simple and relatively bare-bones. In the future, I plan to integrate the functionality from this app into Planter, so that gardeners will know when to water their plants, or to wait if it's just rained a lot.

rainydays's People

Contributors

percula avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.