Skip to content

Samples for iOS & Android NFC Applications (NFC tags reader/writer, P2P, Android Beam)

Notifications You must be signed in to change notification settings

Mylittleswift/NFC_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

NFC Applications on iOS and Android

What's NFC?

Near Field Communication (NFC) is a set of short-range wireless technologies, typically requiring a distance of 4cm or less to initiate a connection. NFC allows you to share small payloads of data between an NFC tag and an Android-powered device, or between two Android-powered devices.

Android-powered devices with NFC simultaneously support three main modes of operation:

  1. Reader/writer mode, allowing the NFC device to read and/or write passive NFC tags and stickers.
  2. P2P mode, allowing the NFC device to exchange data with other NFC peers; this operation mode is used by Android Beam.
  3. Card emulation mode, allowing the NFC device itself to act as an NFC card. The emulated NFC card can then be accessed by an external NFC reader, such as an NFC point-of-sale terminal.
    https://developer.android.com/guide/topics/connectivity/nfc/index.html

iOS Core NFC now only supports reader mode. https://developer.apple.com/documentation/corenfc?language=objc

Android SDK can do:

  1. Tag reader/writer (Support NfcA, NfcB, NfcF, NfcV, IsoDep, Ndef on NFC Forum Type 1, Type 2, Type 3 or Type 4 compliant tags, MifareUltralight, NfcBarcode. For MIFARE Classic tags, this would be useful: [MIFARE Classic Tool] (https://github.com/ikarus23/MifareClassicTool))
  2. P2P beam
  3. Card emulation

Compatible with Android 4.4 (API 19) and above

References

Android NFC API
iOS NFC API
NFC Forum Specification

License

The MIT License (MIT)

Copyright (c) 2015 LinkMob.cc

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Samples for iOS & Android NFC Applications (NFC tags reader/writer, P2P, Android Beam)

Resources

Stars

Watchers

Forks

Packages

No packages published