Beaming messages with NFC

NFC stands for Near Field Communication and allows NFC-equipped owners to exchange data by contact (or near contact) of their phones. In Android, we can use NFC through Beam. Using Beam, users can exchange a small amount of data, such as web bookmarks, contact info, directions, YouTube videos links, and so on. NFC is more convenient than other wireless technologies, such as Bluetooth or Wi-Fi for quickly sending data as no pairing or authentication is required.

Tip

The minimum SDK version to use NFC is level 10.

Getting ready

Create a new Solution named Beam_Project. To test this recipe, you'll need to deploy your application on two different NFC-enabled phones, as the emulator doesn't support NFC. Also, we will need to ...

Get Xamarin Studio for Android Programming: A C# Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.