Skip to content

vikky49/RoboZombie

 
 

Repository files navigation

RoboZombie

RoboZombie /rō-bō'zŏm'bē/ noun. 1 A lightweight HTTP facade which simplifies network communication. 2 An endpoint proxy generator for web services. Build Status


##About

RoboZombie allows easy integration with remote services by allowing you to replicate an endpoint contract and generate a proxy to access it.

  • Contracts can be very flexible in terms of the resources they access. These could be vary from static html content or an RRS feed, to a RESTful web service endpoint.

* Each endpoint contract is specified on a single interface using annotations to provide the communication metadata. It is then wired into your code via an annotation, where it'll be created, cached and injected at runtime.

##Setup

1. For Maven Based Android Projects

Add the following dependency in your project's pom.xml.

<dependency>
   <groupId>com.lonepulse</groupId>
   <artifactId>robozombie</artifactId>
   <version>1.2.3</version>
   <type>jar</type>
</dependency>

For information on building Android projects using Maven here's Chapter 14 of Maven: The Complete Reference.

2. For Standard Android Projects

Download the RoboZombie + Gson jars and add them to your libs folder.

##Usage

Coding with RoboZombie is a breeze. It follows a simple annotation based coding style and adheres to a minimal intrusion policy. Kickoff with the quickstart and follow the rest of the wiki pages.

  1. Quickstart

  2. Defining Endpoint Contracts

  3. Working With Response Parsers

  4. Injecting Endpoint Proxies

  5. Accessing RESTful Services

  6. Executing Requests Asynchronously

RoboZombie requires the INTERNET manifest permission for network communication.

<uses-permission android:name="android.permission.INTERNET" />

##License This library is licensed under Apache License, Version 2.0.

About

An endpoint proxy generator which simplifies networking on Android.

Resources

License

Stars

Watchers

Forks

Packages

No packages published