In this tutorial, you will learn the basics of P2P (peer-to-peer) communication and create an application to share large files, such as images and videos, from one device to another using NFC (near field communication) on Android.
Source files for the Tuts+ tutorial: Sharing Files With NFC on Android
Read this tutorial on Tuts+