noahfisher / android-evaluation Goto Github PK
View Code? Open in Web Editor NEWThe Task Create an application that displays the weather for Sunnyvale, CA. Please use the following URL for getting the data. http://weather.yahooapis.com/forecastrss?w=2502265 When the application launches, it will display the weather information by day and the last time the API was polled. The app must keep track of the last API poll and store the content. If the content is not there, then it will automatically go out to API to grab the data and put "Fetching" on the screen. Create a button that forces the refresh. Requirements 1. Once the application is done fetching data, please display a notification if the app is not active. 2. The app must not block UI while fetching data. 3. UI must update automatically. Things to Look For 1. The solution should contain a Service object for grabbing API data. 2. The result of the API should not be stored in a database. 3. The UI should be hooked up to API update intent. 4. Should not crash. The activity's onCreate, onPause, and onDestroy should be handled. 5. Use of asynchronous call and thread.