Java - REST Client

244 Views Asked by At

I almost finished my RESTful API. I created the API with PHP and using SLIM Framework.

And for the last step, I should consume the RESTful API that I've created before on Android application.

I've some question to ask.

  1. Is it possible to use the RESTful API that I made with SLIM and PHP in Android Application ?
  2. If the answer is 'YES', is there a framework or library can be used ?

Thanks before :)

3

There are 3 best solutions below

1
On BEST ANSWER

You might want to take one of:

(Take a look at the original answer where I took most of the list from)

0
On

Yes, is possible. RESTful API is the same regardless of the language used. Just make sure that's work correctly using HTTP methods. Check this tutorial http://spring.io/guides/gs/consuming-rest-android/

1
On

I recomend use https://github.com/loopj/android-async-http For me it's best android rest client library