Well, there are good news: Google announced an update to Android 2.3 that adds new NFC capabilities for developers. This update is a small feature release but finally adds read and write APIs for the near field communications chip. Other updates include new APIs for Bluetooth, graphics, media framework, and speech recognition. The new version is available as a downloadable component for the Android SDK.
Now, the plataform provides a new set of APIs supporting a wider range of standard tags, including:
- NFC-A (ISO 14443-3A)
- NFC-B (ISO 14443-3B)
- NFC-F (JIS 6319-4)
- NFC-V (ISO 15693)
- ISO-DEP (ISO 14443-4)
- Mifare Classic
- Mifare Ultralight
- NFC Forum NDEF tags
This release also provides a limited peer-to-peer communication protocol and API. As they say “advanced tag dispatching now gives applications more control over how and when they are launched, when an NFC tag is discovered. Previously, the platform used a single-step intent dispatch to notify interested applications that a tag was discovered. The platform now uses a four-step process that enables the foreground application to take control of a tag event before it is passed to any other applications (android.nfc.NfcAdapter.enableForegroundDispatch()). The new dispatch process also lets apps listen for specific tag content and tag technologies, based on two new intent actions — android.nfc.action.NDEF_DISCOVERED and android.nfc.action.TECH_DISCOVERED”.
We are going to test this new functionality, will be sharing our views about it and posting some new examples.