This Google Maps demo android app shows the current weather conditions at the tapped location using the OpenWeatherMap web API. Simply tap on the map to find the nearest place which has weater information. Tap on the FAB (floating action button in the bottom right corner) to jump to your current location.
[http://api.openweathermap.org/data/2.5/find?lat=47.296361931215344&lon=19.066610522568226&cnt=5&units=metric&APPID=] (http://api.openweathermap.org/data/2.5/find?lat=47.296361931215344&lon=19.066610522568226&cnt=5&units=metric&APPID=)
Parameters:
- lat - the latitude coordinate of the tapped location
- lon - the longitude coordinate of the tapped location
- cnt - is the limit in the vicinity of the tapped location
- units - unit system of the response data
- APPID - OpenweatherMap API key.
The units parameter the unit system of the data (f.ex.: Celsius degree for temperature or km/h for wind speed.) This app uses only the metric system for demonstration purpose.
The APPID parameter is required for any API calls to Open Weather Map API Please, signup and obtain your (free or subscription based) API key, and replace open_weather_maps_apikey string entry in the app/src/main/res/values/strings.xml file.
For more information visit the [Open Weather Map API] (http://openweathermap.org/api) page.
Android 4.0 or greater (API level 14 Icecream Sandwich).
- Google Maps API v2
- Google Play Services v7
- Android Support Library v7.
- Android Design Suppor Library for the FAB and Snackar stuff.
- Espresso 2.0 and Android testing support lib for some basic instrumentation and UI testing.
- JUnit 4 for some unit testing fun.
- Genymotion Emulator for its lightning fast performance specially with Espresso testing.
- Butterknife Jake Wharton's awesome view injection tool.
- A very simple and slim Logging library
Feel free to modify this app to your liking, and suggest improvements.