eclipse/ has the examples in eclipse project format, no longer updated. Otherwise the examples are for android studio.
nfc3 is an example of to set a nfc tag.
nfcDemo This shows an example of how to use beam. You will need to two devices with nfc. This app will beam a message to the other devices app.
nfcDemo3 well send a file via nfc beam. It only needs to be installed on one device. fair warning, beaming is pretty slow, so don't try this with large files unless you can set the devices correctly on top of each other.
StickyNotes This example code is more complex, but can read and write nfc tags.
These are example code for University of Wyoming, Cosc 4730 Mobile Programming course. All examples are for Android.