A simple app that shows you how much it has rained, using data from NOAA weather stations.
- 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
- 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.
- Clone this repository
- 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)
- 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.
- Navigate here: https://console.developers.google.com/apis
- Create a new project in the upper left or select an existing project
- In APIs and Services, click "Enable APIs and Services"
- Enable the Places API, Maps SDK for Android, and Geocoding API
- Go to "Credentials", "Create credentials", "API key"
- Click "RESTRICT KEY" and under "API Restrictions" select Places and Maps
- Create another API key and this time select "Geocoding" as the restriction
- 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.
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.