O'Reilly logo

Xamarin Studio for Android Programming: A C# Cookbook by Mathieu Nayrolles

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Using Hardware Interactions

In this chapter, we will see the following recipes:

  • Beaming messages with NFC
  • Using the accelerometer and other sensors
  • Using Bluetooth
  • Using GPS

Introduction

Until now, we have only investigated the software capacities of Android with the exception of the camera. In this chapter, we will put the emphasis on the hardware interactions. Android developers build APIs, for each hardware type, so that we can use any hardware in the same way and Xamarin allows us to use those APIs in C#.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required