An open API service indexing awesome lists of open source software.

https://github.com/thedancercodes/restful-web-services-app

This repo contains an Android Client that demonstrates the different approaches of interacting with Restful Web Services in an Android App
https://github.com/thedancercodes/restful-web-services-app

Last synced: 10 months ago
JSON representation

This repo contains an Android Client that demonstrates the different approaches of interacting with Restful Web Services in an Android App

Awesome Lists containing this project

README

          

# Restful Webservices App

This repo contains an Android Client that demonstrates the different approaches of interacting with Restful
Webservices in an Android App:

Some of the approaches/ architectures/ tools covered are:
1. AsyncTask
2. AsyncTaskLoader
3. IntentService
4. HttpUrlConnection
5. Gson
6. XmlPullParser
7. OkHttp
8. Retrofit

## Project Setup

This project is built with Gradle, the [Android Gradle plugin](http://tools.android.com/tech-docs/new-build-system/user-guide). Follow the steps below to setup the project localy.

* Clone [Restful Web Services](https://github.com/TheDancerCodes/restful-web-services-app) inside your working folder.
* Start Android Studio
* Select "Open Project" and select the generated root Project folder
* You may be prompted with "Unlinked gradle project" -> Select "Import gradle project" and select
the option to use the gradle wrapper
* You may also be prompted to change to the appropriate SDK folder for your local machine
* Once the project has compiled -> run the project!