Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning ibeacon

You're reading from   Learning ibeacon

Arrow left icon
Product type Paperback
Published in Nov 2014
Publisher
ISBN-13 9781784397128
Length 196 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Craig Gilchrist Craig Gilchrist
Author Profile Icon Craig Gilchrist
Craig Gilchrist
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Welcome to iBeacon FREE CHAPTER 2. Detecting Beacons – Showing an Advert 3. Broadcasting Advertisements – Sending Offers 4. Ranging Beacons – Hunting for Treasure 5. Detecting Beacons in the Background – Location Dating 6. Leaving Regions – Don't Forget Your Stuff 7. Vendor SDKs – Buying and Configuring Beacons 8. Advanced Tutorial – iBeacon Museum 9. iBeacon Security – Understanding the Risks Index

What this book covers

Chapter 1, Welcome to iBeacon, introduces you to the technology and the incredible opportunities it offers us as developers. We'll cover the technological advancements that have made iBeacon possible and we'll discuss some of the options which you have to get your hands on for some real beacons. Finally, we'll create the age-old Hello World application and start detecting beacons easily.

Chapter 2, Detecting Beacons – Showing an Advert, introduces you to beacon detection in more detail. We'll show you how to differentiate between beacons using the values that they broadcast and we'll introduce the concept of regions and some of the CoreLocation classes used to represent regions and location. We will also cover the user permissions needed to monitor beacons before building a tutorial using our new-found knowledge to build an app that shows different offers as you approach different beacons.

Chapter 3, Broadcasting Advertisements – Sending Offers, introduces you to the important classes in the Core Bluetooth framework and discusses how to handle the variations in beacon broadcasting power before building a functioning beacon broadcasting app. Now that you know how to detect beacons and act on their unique broadcasting values, you will learn how to turn your iPhone or iPad into a fully functioning iBeacon broadcaster.

Chapter 4, Ranging Beacons – Hunting for Treasure, introduces the concept of ranging beacons and determining their distance from the receiver. This chapter expands on the CLLocationManager class usage and will take you through a tutorial that allows one device to be configured as a sender and another as a receiver to ultimately build a simple treasure-hunting app.

Chapter 5, Detecting Beacons in the Background – Location Dating, introduces you to the core responsibilities of the iOS in monitoring beacons in the background. We will discuss how iOS takes over beacon monitoring when the app is in the background and will also launch the app if it has been terminated.

Chapter 6, Leaving Regions – Don't Forget Your Stuff, discusses other uses of beacon technology and introduces functionalities based on when a user leaves a region. This chapter will introduce you to the possibilities of the technology for home automation before showing how to develop an application that ensures you don't leave your keys or wallet at home.

Chapter 7, Vendor SDKs – Buying and Configuring Beacons, discusses some popular vendor implementations of iBeacon hardware and takes you through some of the vendor software development kits to build a beacon configuration tool using the Estimote SDK, as buying iBeacon hardware can be difficult. By the end of this chapter, you'll be armed and confident to go and buy beacons for your commercial implementation.

Chapter 8, Advanced Tutorial – iBeacon Museum, pulls everything together with a more advanced tutorial. The tutorial focuses on an imaginary museum, which has different exhibits and multiple displays within each of the exhibits. As the user travels around the museum, the information shown in the app changes to show information about the display that they are currently closest to. As the user travels around the museum, you can track the user's journey on an interactive website.

Chapter 9, iBeacon Security – Understanding the Risks, arms you with a complete idea of the security vulnerabilities that need consideration when building apps that use iBeacon. This chapter also dispels any myths around security that concern users and discusses ways to naturally request the security permissions in an app without scaring users.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image