Question: how to transfer data from one phone to another using nfc?
Answer: Activating NFC. If your device has NFC enabled, the chip and the Android Beam must be activated for you to use it. Go to Settings and then tap on the NFC switch to activate it.
Data Sharing Key Points. For data sharing to be successful, take care of the following: ... 
Sending Content. – For sharing, open content to be shared.