Each tag has it s own characteristics, some tags provide information which is read-only like the tags on information billboard or on a price tag. Some other had the ability to do some math and had the environment to do some simple programming like on a discount tag.
The data that stored in a tag can be written on a variety of formats, but many of the Android framework APIs are based around a NFC Forum standard called NDEF (NFC Data Exchange Format)
There are two major uses cases when working with NDEF data and Android:
- Reading NDEF data from an NFC tag
- Beaming NDEF messages from one device to another with Android Beam
The Android Beam feature allows a device to push an NDEF message onto another device by physically tapping the devices together. This interaction provides an easier way to send data than other wireless technologies like Bluetooth, because with NFC, no manual device discovery or pairing is required. The connection is automatically started when two devices come into range. Android Beam is available through a set of NFC APIs, so any application can transmit information between devices. For example, the Contacts, Browser, and YouTube applications use Android Beam to share contacts, web pages, and videos with other devices.
Tidak ada komentar:
Posting Komentar