Version 1.1.1 of the Aeris Android Weather SDK is now available. This version of the SDK includes access to additional endpoints like observation/summary and new data attributes like Ultraviolet Index forecasts. Read on for highlights of the new data waiting to enhance your Android weather applications!
Since our last update the Aeris Weather API team has continued to add and expand our endpoints to their arsenal of weather data. This update of the Android SDK provides streamlined access to these enhanced data sets for Android developers.
The following attributes are now available as properties within the forecast object:
The observations/summary endpoint provides access to daily summaries for a given location or observation station. This includes observed min/max/avg temperatures, dewpoints, wind speeds and precipitation totals. Review the observations/summary endpoint for the full details about the data available.
Review the Javadocs for the observation/summary endpoint for use with the Aeris Android SDK: loaders/ObservationSummaryTask
To get you started, here is a quick example of implementing the observations/summary endpoint and using some of the data returned:
PlaceParameter place = new PlaceParameter(txtZip.getText().toString());
ObservationsSummaryTask task = new ObservationsSummaryTask(this, new ObservationsSummaryTaskCallback()
public void onObSummaryLoaded(List responses)
ObSummaryResponse resp = (ObSummaryResponse) responses.get(0);
Number temp = resp.getPeriod(0).summary.temp.maxF;
catch (Exception e)
String s = e.getMessage();
public void onObSummaryFailed(AerisError aerisError)
// handle fail here
txtTemp.setText("Oops - maybe try a different zipcode.");
// start the request for the task by passing in our Place Parameter.