© Mark Wickham 2018
Mark WickhamPractical Androidhttps://doi.org/10.1007/978-1-4842-3333-7_2

2. Connectivity

Mark Wickham1 
Dallas, Texas, USA

2.1 Introduction

The single most important characteristic of a successful app is connectivity. You can accomplish most of your connectivity requirements with the ubiquitous HTTP protocol, which makes up the backbone of all Internet communications. In this chapter, I will cover the HTTP options available within Android.

Sometimes more specialized protocols are required. In Chapter 6, I will cover push messaging and the unique protocols used for its implementation.

Let’s begin with the three important aspects of connectivity to determine the following:
  • Is your device connected?

  • Is your network available?

  • Is ...

Get Practical Android: 14 Complete Projects on Advanced Techniques and Approaches 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.