Chapter 9. HTTP networking and web services

In this chapter

  • Networking with HTTP
  • Parsing XML and JSON
  • Dealing with network failures

It’s not a big truck. It’s a series of tubes.

Ted Stevens

Without a doubt, one of the most exciting technological advancements of mobile phones has been the leap from slow, limited mobile network stacks such as GPRS (General Packet Radio Service) plus WAP (the Wireless Access Protocol) to full-blown web clients. Even though the Web existed and rapidly grew back in those days, WAP was born out of sheer compromise: GPRS data connections were slow, and phones back then had small displays and weren’t particular powerhouses either, making a desktop-like web experience impossible. The compromise was that WAP didn’t ...

Get Android in Practice 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.