Git Product home page Git Product logo

noahfisher / android-evaluation Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 160 KB

The 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.  

Java 100.00%

android-evaluation's Introduction

README
======

This app accomplishes the following: 

-- Downloads an XML feed from Yahoo Weather for the weather for Sunnyvale, CA.

-- Parses the XML feed, combines feed elements with HTML markup, and displays the resulting HTML in the UI. The results were chosen to be displayed this way for simplicity and speed of development. 

-- Detects when there is a change in the device's connection status and responds accordingly. For example, if the device loses its network connection, the app will not attempt to download the feed.

android-evaluation's People

Contributors

noahfisher avatar

Watchers

 avatar  avatar

Forkers

ignat99

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.