Professional NFC Application Development for Android
eBook - ePub

Professional NFC Application Development for Android

Vedat Coskun, Kerem Ok, Busra Ozdenizci

Share book
  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Professional NFC Application Development for Android

Vedat Coskun, Kerem Ok, Busra Ozdenizci

Book details
Book preview
Table of contents
Citations

About This Book

A practical guide to developing and deploying Near Field Communication (NFC) applications

There has been little practical guidance available on NFC programming, until now. If you're a programmer or developer, get this unique and detailed book and start creating apps for this exciting technology. NFC enables contactless mobile communication between two NFC-compatible devices. It's what allows customers to pay for purchases by swiping their smartphones with Google Wallet, for example. This book shows you how to develop NFC applications for Android, for all NFC operating modes: reader/writer, peer-to-peer, and card emulation.

The book starts with the basics of NFC technology, an overview of the Android OS, and what you need to know about the SDK tools. It then walks you through all aspects of NFC app development, including SE programming. You'll find all you need to create an app, including functioning, downloadable code and a companion website with additional content. Valuable case studies help you understand each operating mode in clear, practical detail.

  • Shows programmers and developers how to develop Near Field Communication (NFC) applications for Android, including Secure Element (SE) programming
  • Expert authors are NFC researchers who have a deep knowledge of the subject
  • Covers app development in all NFC operating modes: reader/writer, peer-to-peer, and card emulation
  • Includes valuable case studies that showcase several system design and analysis methods, such as activity diagram, class diagram, UML, and others

Professional NFC Application Development for Android offers the clear, concise advice you need to create great applications for this emerging and exciting technology.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Professional NFC Application Development for Android an online PDF/ePUB?
Yes, you can access Professional NFC Application Development for Android by Vedat Coskun, Kerem Ok, Busra Ozdenizci in PDF and/or ePUB format, as well as other popular books in Computer Science & Software Development. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Wrox
Year
2013
ISBN
9781118380567
Edition
1

Chapter 1

Overview of Near Field Communication

WHAT’S IN THIS CHAPTER?
  • A background for NFC technology
  • Ubiquitous computing and wireless communication aspects for NFC
  • Evolution of NFC technology: RFID and contactless smart card technologies
  • An introduction to NFC technology and NFC devices: NFC tag, NFC reader, and NFC mobile
  • NFC operating modes with generic usage models
  • Examples for NFC applications in terms of operating modes
Currently, Near Field Communication (NFC) is one of the enablers for ubiquitous computing. This technology simplifies and secures interaction with the automation ubiquitously around you. Many applications you use daily such as credit cards, car keys, tickets, health cards, and hotel room access cards will presumably cease to exist because NFC-enabled mobile phones will provide all these functionalities.
The NFC ecosystem is designed from the synergy of several technologies, including wireless communications, mobile devices, mobile applications, and smart card technologies. Also, server-side programming, web and cloud services, and XML technologies contribute to the improvement and spread of NFC technology and its applications.
This chapter provides a brief background of the fundamentals and evolution of NFC technology. Then it gives a brief overview of NFC technology and the touching paradigm, including a comparison of NFC with other wireless technologies, and an introduction to smart NFC devices and operating modes with novel NFC applications in the industry.

UBIQUITOUS COMPUTING AND NFC

The history of modern computers comprises work that’s been performed over the past 200 years. Personal computers (PCs) were an important step after early computers, changing the way that users interact with computers by using keyboards and monitors for input and output instead of primitive options such as punch cards and cables. The mouse also changed the way that humans interact with computers because it enables users to input spatial data in to a computer. Users became accustomed to using their hands to hold the mouse and pointing their fingers to click it. The movements of the pointing device are echoed on the screen by the movements of the cursor, creating a simple and intuitive way to navigate a computer’s graphical user interface (GUI).
Touch screens changed the form of interaction even further and did so in a dramatic way. They removed the need for earlier input devices, and the interaction was performed by directly touching the screen, which became the new input device. In the meantime, mobile phones were introduced, initially for voice communication. Early forms of mobile phones contained a keypad. Those mobile phones with touch screens are considered to be state of the art because the screen is used for both input and output, which is more intuitive for users.
Ubiquitous computing is the highest level of interaction between humans and computers, in which computing devices are completely integrated into everyday life. Ubiquitous computing is a model in which humans do not design their activities according to the machines they need to use; instead, the machines are adjusted to human needs. Eventually, the primary aim is that humans using machines will not need to change their daily behaviors and will not even notice that they are performing activities with the help of machines.
As in modern computers and interfaces, increasing mobility of computing devices provided by mobile communications is also an important step in the development of ubiquitous computing capabilities and NFC. Mobile phones already had several communications options with the external environments before the introduction of NFC. When mobile phones were initially introduced, their primary goal was to enable voice communication. GSM (Global System for Mobile) communication further enabled functionality of mobile phones for several services, such as voice communication, short messaging service (SMS), multimedia message service (MMS), and Internet access. Also, the introduction of Global Positioning System (GPS) and Wireless Fidelity (WiFi) technologies (e.g., Infrared Data Association or IrDA) changed the way we use mobile phones. One communication option between mobile phones and computers was data transfer by USB — a physical port was used for this purpose, and cable was used for data transfer.
Later, Bluetooth technology was introduced, creating personal area networks that connect peripherals with computing devices such as mobile phones. Bluetooth became very popular in the early 2000s. Perhaps the most widely used function of Bluetooth is data exchange among mobile phones or between a mobile phone and another Bluetooth-enabled device such as a computer. Bluetooth enables communication among devices within a particular vicinity. However, secure data transfer cannot be performed completely with this technology because it is designed for wireless communication up to 10 meters, which allows malicious devices to alter the communication.
Currently, a new way of interacting has entered everyone’s daily life: NFC technology can be identified as a combination of contactless identification and interconnection technologies. NFC operates between two devices in a short communication range via a touching paradigm. It requires touching two NFC-compatible devices together over a few centimeters. NFC communication occurs between an NFC mobile device on one side and an NFC tag (a passive RFID tag), an NFC reader, or an NFC mobile device on the other side. RFID is capable of accepting and transmitting beyond a few meters and has a wide range of uses. However, NFC is restricted for use within close proximity (up to a few centimeters) and also designed for secure data transfer. Currently, integration of NFC technology into mobile phones is considered a practical solution because almost everyone carries a mobile phone.
The main vision of NFC is the integration of personal and private information such as credit card or cash card data into the mobile phones. Therefore, security is the most important concern, and even the short wireless communication range provided by RFID technology is considered too long. Shielding is necessary to prevent unauthorized people from eavesdropping on private conversations because even nonpowered, passive tags still can be read over 10 meters. This is the point where NFC comes in.
NFC integrates RFID technology and contactless smart technologies within mobile phones. The evolution of NFC technology is illustrated in Figure 1-1. The gray areas in the figure indicate the technological developments that support the NFC environment directly. This chapter provides a brief overview of the technologies that make NFC evolution possible.
FIGURE 1-1
image

WIRELESS COMMUNICATION AS NFC

NFC technology also can be evaluated using a wireless communication aspect. Wireless communication refers to data transfer without using any cables. When communication is impossible or impractical through the use of cables, wireless communication is the solution. The range may vary from a few centimeters to many kilometers.
Wireless communication devices include various types of fixed, mobile, and portable two-way radios, cellular telephones, personal digital assistants, GPS units, wireless computer mice, keyboards and headsets, satellite television, and cordless telephones. Wireless communication allows communication without requiring a physical connection to the network.
Wireless communication introduces challenges that are somewhat harder to handle compared to wired communication; these challenges include interference, attenuation, unreliability, cost, and security. Wireless communication makes use of transmission of data over electromagnetic waves within the electromagnetic spectrum, as depicted in Figure 1-2.
FIGURE 1-2
image
The most straightforward b...

Table of contents