I am looking forward to implement NFC in iPhone. Can anyone share some sample codes for its implementation? Till now I know that one needs an adapter to implement this on iPhone while this feature has already been deployed successfully on android phones. Here is what I’ve found about the adapter used http://www.icarte.ca/ and http://www.nexperts.com/typo/index.php?id=51
Share
If the proximity requirement is of the order of few centimeters then NFCis a good choice. NFC is still a new technology being adopted in Mobile phones so current install base is limited.
If the proximity requirement is of the order of few feet, then the best choice is Bluetooth. Bluetooth is available in a large number of devices. Bluetooth has the initial inquiry/discovery process which is a beaconing process to discover nearby devices in vicinity to connect to, with this is is possible to implement and detect proximity of devices.
On android this is fully supported and can be implemented easily. With iPhone Bluetooth public APIs are limited to only Gamekit, Gamekit uses internal automatic mechanism to detect devices in proximity running the same applications. Depending on your usage requirements it may be possible to do what you are thinking using the iPhone Bluetooth GameKit Apis.
iPhone also has MFi program allowing use of Blueototh to develop accessories using Bluetooth and will have more detailed access into the iPhone Blueooth capabilities/apis , to use this you need to part of the Apple MFi program to get access. See here for MFi details