Skip to content
RESTful api client for Android
Java Ruby
Latest commit 574dbb3 Nov 16, 2012 @fmedlin Update README.md
Failed to load latest commit information.
example-app Add post data tests Feb 24, 2012
res
src/com/roobit/android/restclient Added PUT support; POST/PUT data can be specified as either byte arra… Nov 14, 2012
.gitignore Initialize singleton with first created instance Feb 7, 2012
AndroidManifest.xml Add robolectric and pass the happy smiles test Feb 7, 2012
README.md Update README.md Nov 16, 2012
project.properties Initial commit Feb 7, 2012

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.
  3. The tests use Sinatra as a local test server.

    gem install sinatra json

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

    ruby robolectric.rb

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

Something went wrong with that request. Please try again.