do you know good librairies that are more or less the equivalent of RestKit but for Android ?
I got a small idea but there might be other interesting solutions.
Thx
do you know good librairies that are more or less the equivalent of RestKit but for Android ?
I got a small idea but there might be other interesting solutions.
Thx
I created and open sourced some code that I based off the idea of RestKit when I saw there was nothing like it for Android. It can help with Network requests in Android, specifically if you are doing many requests all in the same activity and want to keep things readable.
Its called Android Network Kit, and the example app included uses the Spotify API to demonstrate this. The advantages are that you can keep all the messy networking code in a separate file, but expose a method to parse the response you get back.
It can also help to construct GET or POST requests easily, using GET parameters (GET) , Form encoded parameters (POST) or JSON parameters (POST), by simply supplying an array list of key values.
I don't have any of the Object Mapping that RestKit has, but you could always combine my app with Gson for that. (I plan on including this in the next version of Android Network Kit).