Networking has played a huge role in Android apps since API level 1. Most apps don’t work in isolation; rather, they connect to an online service to retrieve data or perform other networking functions. In this Android networking tutorial, you will create a simple app which connects to the GitHub API to retrieve and display […]
The link near the bottom to the source for the “final” project just links back to the same article, and I only see a link to the starter project. Can you provide a link to the final project, please? Thank you.
@mabco very sorry about this. The url to the new final project got messed up when I uploaded a new one with the corrected volley dependency. Please check the link in the tutorial. It’s working correctly now.
@euniceobugyei In this tutorial, the AsyncTask implementation approach is pretty straightforward and not a lot of code. I agree the open source library approaches are very convenient, because they handle the asynchronous threading internally, but, other than the things mentioned in the tutorial, are there any other downsides to using an AsyncTask for this type of networking use case that you can see? Second question: Do you know of any good Android libraries that have similar conveniences (asynchronous, threading, callbacks, etc) as these open source HTTP libraries, but which is at a lower level? I need to do some networking at the TCP socket level. I know I can use the Java Socket and/or nio frameworks, but wish there were an open source library that was as nice at the HTTP open source libraries. I have yet to find anything that isn’t overly complicated. In iOS, I use CocoaAsyncSocket library, which is very nice. Thanks in advance.
Hi @euniceobugyei, Great tutorial. I was able to follow the instructions with no issues and the app is working great. May I know how can I integrate Realm in the application in this tutorial? Thank in advance.