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?
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/
Another good option could be Volley, networking library introduced on IO 2013 by Google. For more info check this topic: Volley Android Networking Library
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With