13. Adding Network Support

In this chapter, you enable the Have You Read That? application to handle two-way network communication. First, you concentrate your attention on downloading data from the Internet. Specifically, you learn the theory and design principles for networked applications. You learn about threading and progress bars. You modify the Have You Read That? application to retrieve batches of books and live score data from a remote application server. You then enhance the Have You Read That? application to upload player data, such as settings, scores, and avatars to the application server. You learn how to upload data to a network server, as well as a new way to offload important processing to a simple service that executes in the ...

Get Learning Android™ Application Programming for the Kindle Fire™: A Hands-On Guide to Building Your First Android Application now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.