AFNetworking for Android
Solution 1
There's loop j's async http lib for Android (though I'm not a huge fan) http://loopj.com/android-async-http/. Honestly, best thing is just to use apache httpclient inside of an intentservice so it's async and then deliver the results to your activities, etc through a ResultReceiver.
UPDATE
I now recommend Retrofit, an open-source project from Square. I use it and it works very well as a REST client. http://square.github.io/retrofit/
Solution 2
You could try RoboSpice. Give us feedback, if it was, what you needed.
Solution 3
Another good option could be Volley, networking library introduced on IO 2013 by Google. For more info check this topic: Volley Android Networking Library
Solution 4
This lib is awesome. i think is all you want give a try dude
Ashley Staggs
I create websites, apps, games and do vfx and music
Updated on August 31, 2022Comments
-
Ashley Staggs almost 2 years
I am in the process of porting my iOS app to Android, and am now in need of a simple to use asynchronous class set to download JSON data and images.
For iOS I am using AFNetworking which is an amazing tool. Is there anything like that for Android?
-
Ashley Staggs almost 12 yearsThanks, I will look into it. May I ask why you don't like it much?
-
Ashley Staggs over 11 yearsIt looks really good and I may use it in a future app, however, loopj's async lib has already been implemented in the app I was working on. Thanks
-
KVISH about 10 yearsAny reason you don't like it? Even I would love to know.