Chapter 5. Communicating with the Outside World

In this chapter, we will cover the following recipes:

  • Consuming REST services with HttpClient
  • Obtaining a network state
  • Handling network state changes
  • Using the DownloadManager element
  • Accessing Bluetooth
  • Transferring data via Bluetooth
  • Receiving NFC events
  • Writing NFC tags
  • Transferring data via NFC
  • Obtaining location coordinates and addresses

Introduction

Communication is one of the most important aspects of human existence. Everyone communicates with someone else at some point in their lives.

We as humans speak, write, draw, and move to send a message or convey some sort of message to someone else. Babies cry, children speak, and adults write to let someone else know what they are doing or what they want the ...

Get Xamarin Mobile Development for Android Cookbook 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.