Adding peripherals



I am trying to figure out how to add support for NFC, camera, GSM and use them in Android. I mean that I want to expose these devices to be usable by the Android development API.
I already saw this post about GSM.
I also found this about NFC.

It is unclear to me how to integrate those to work in the way Android wants. Can you point me to the correct direction?