Chapter 6

Network Programming

Unless you are writing a Hello World application, chances are good your application needs to connect to the outside world. In this chapter, you will learn how to connect your Android applications to the outside world using a variety of techniques. In particular, you will learn how to do the following:

  • Connect to web servers using HTTP
  • Consume XML web services
  • Consume JSON web services
  • Communicate using sockets
  • Communicate using Bluetooth

Get Android Application Development Cookbook: 93 Recipes for Building Winning Apps 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.