Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RestKit in android?

I have used restkit framework in ios. Which is very powerful and provides features like caching and all. I am looking whether a similar framework is available in android?

I came across a framework called restlet. But didnt find any samples to work with.

Is there any frameworks out there for the same, for caching data from rest services? Also could some one direct me to good tutorials for restlet in android?

Thanks

like image 419
Zach Avatar asked Oct 12 '11 17:10

Zach


4 Answers

In addition, there is this first application tutorial covering Restlet edition for Android: http://restlet.org/learn/guide/2.2/introduction/first-steps/first-application

like image 136
Jerome Louvel Avatar answered Nov 13 '22 15:11

Jerome Louvel


There is a sample to work :

http://restlet.org/learn/guide/2.2/introduction/first-steps/first-application

It should solve your problem

like image 20
Saurabh Avatar answered Nov 13 '22 17:11

Saurabh


I wouldn't call it a framework, but there is a library called Robospice that supports Caching Rest Calls.

Here is the description they posted in their webpage:

RoboSpice is a modular android library that makes writing asynchronous long running tasks easy. It is specialized in network requests, supports caching and offers REST requests out-of-the box using extension modules

like image 1
e3matheus Avatar answered Nov 13 '22 15:11

e3matheus


Give Retrofit a shot. It's easy with plenty of customization available.

It also has OkHttp that can pair with it.

Also check out this SO link. It compares Retrofit to Android AsyncTasks and Volley. As far as speed goes, Retrofit wins hands down.

like image 1
craned Avatar answered Nov 13 '22 17:11

craned