O'Reilly logo

Android™ Development Patterns: Best Practices for Professional Developers by Phil Dutson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10. Networking

Networking in Android has been an area that has steadily improved with each release of Android. Whereas network connections were once created and executed no matter what, through the use of the Volley library, they can now be queued to send, process, and even be canceled. In this chapter, you will learn about connecting to the Internet through an HTTP client, how to work with XML, and why using AsyncTask for network communication is necessary for your application, and how you can start using Volley.

Accessing the Internet

Unless your application is completely standalone, you will probably need to connect to the Internet. Saving information, accessing data feeds, or even getting updated files will require you to access the Internet. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required