Giter Club home page Giter Club logo

weatherapp's Introduction

Mobile Development - Practical Work 4 : Weather App

The above project contains the following java actvities :

  • EmptyCityPage : page which is displayed when the user first opens the app or when there are no cities added the user's preferences list. (information message and add button)
  • AddCityActivity : enables a user to add the city of his/her choice.
  • CityDetailActivity : enables the user to view a city’s weather details when he/she clicks on the city he/she added and enables the user to delete that city from his/her list (menu option and a pop up warning message ). This activity also contains the part of the code calling the API (open weather map).
  • CitiesACtivity : enables to display the list of cities added by the user (contains also an add button).

and contains the following xml layouts :

  • activity_empty_city_page.xml
  • activity_add_city.xml
  • activity_city_detail.xml
  • activity_cities.xml
  • viewholder_city.xml

This project also uses the following objects :

  • Adapter
  • Database
  • Dao
  • Retrofit instance (and the needed business objects)
  • Interface (that describes the HTTP requests needed)
  • JSON Parser (Moshi)
  • Interceptor

The app also has a customized icon.

Basically, what you can do with this app :

  • Add a city of your choice
  • View weather details (temperature, feels like, min tempreature , max temperature) of a city
  • Delete a city that has been added (with a warning pop up message customized for each city)
  • When deleting a city, you come back to the home page which is either the list of your other added cities, or if that is list is empty, the inital home page with a message telling you to add cities

weatherapp's People

Contributors

amandhi avatar

Watchers

 avatar

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.