Cargando…

Near field communication with Android cookbook : discover the endless possibilities of using Android NFC capabilities to enhance your apps over 50 practical recipes /

An easy-to-follow guide, full of hands-on examples of and real-world applications. Each recipe is explained and placed in context. If you want to learn how to create NFC-enabled Android applications, this is the book for you. Perhaps you already know a bit about Android application developments but...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Subtil, Vitor (Autor)
Otros Autores: Babu, Ravaji (Diseñador de portada)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, England : Packt Publishing, 2014.
Colección:Quick answers to common problems.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with NFC; Introduction; Requesting NFC permissions; Indicating that your app uses NFC; Defining minimal requirements; Verifying whether the device has an NFC adapter; Downloading Open NFC Android Edition; Downloading Open NFC SDK Edition; Configuring the Open NFC Android add-on into your Android SDK; Configuring an NFC-enabled testing AVD; Configuring the Connection Center tool; Testing your app all together; Chapter 2: Detecting a Tag; Introduction
  • Understanding the foreground dispatch systemUnderstanding the tag dispatch system; Verifying if your app started because of an NFC intent; Filtering tags by their content type; Filtering tags by their content type programmatically; Filtering tags by their technology; Filtering tags by their technology using programs; Filtering URI tags; Chapter 3: Writing Tag Content; Introduction; Working with the NDEF record; Writing a URI-formatted record; Writing a text-formatted record; Using Android Application Record (AAR); Working with external types; Working with custom mimes
  • Chapter 4: Writing Tag Content
  • Real-life ExamplesIntroduction; Making a phone call with one tap
  • Part 1; Sending a predefined SMS
  • Part 1; Visiting our website; Leaving a (small) note
  • Part 1; Chapter 5: Reading Tag Content; Introduction; Obtaining the NDEF Message from Intent; Getting the data out of the message; Reading a text-formatted record; Reading a URI-formatted record; Reading external types; Reading custom mimes; Chapter 6: Reading Tag Content
  • Real-life Examples; Introduction; Making a phone call with one tap
  • Part 2; Sending a predefined SMS
  • Part 2
  • Leaving a (small) note
  • Part 2Getting the tag information; Chapter 7: Sharing Content across Devices; Introduction; Creating a basic peer-to-peer Hello World application; Sending texts to other devices; Sending a friend invite on Facebook; Inviting a friend to play a game
  • Part 1; Chapter 8: Error Handling and Content Validation; Introduction; Handling tag-writing errors; Handling tag-reading errors; Testing the tag data for integrity; Chapter 9: Extending NFC; Introduction; Turning other adapters on/off; Configuring a Wi-Fi network; Starting a Wi-Fi hotspot
  • Inviting a friend to play a game
  • Part 2Controlling hotel room access with Arduino and NFC
  • Part 1; Controlling hotel room access with Arduino and NFC
  • Part 2; Chapter 10: Real-life Examples
  • NFC Utilities; Introduction; Creating multi-action tags; Choosing the best format for our data; Locking tags; Joking with a friend; Index