Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

RESTful api client for Android

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 example-app
Octocat-spinner-32 res
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 AndroidManifest.xml
Octocat-spinner-32 README.md
Octocat-spinner-32 project.properties
README.md

Active development has stopped

RestClient has been mostly absorbed and reborn in the twotoasters/hoot library. Since many of my own projects still use RestClient, I'll fix bugs as necessary, but I'll use hoot for new development.

Running Tests

These instructions are for running the tests in Eclipse. There's no need to run a device or emulator.

  1. Install Robolectric.

  2. Import these three RestClient projects into Eclipse. Refer to the Robolectric install instructions to fix up any project dependency issues that occur.

    • The RestClient SDK library project in the top level folder.
    • The RestClientExampleApp project in the example-app folder.
    • The RestClientTest project in the example-app/test-app folder.
  1. The tests use Sinatra as a local test server.

    gem install sinatra json

  2. Start the test server by cd'ing to example-app/test-app/sinatra folder and run

    ruby robolectric.rb

  3. In Eclipse, select the RestClientTest project and "Run As" => "JUnit Test"

Something went wrong with that request. Please try again.