SlideShare a Scribd company logo
iBeacons for Everyone,
from iOS to Android!
James Montemagno
Developer Evangelist, Xamarin
@JamesMontemagno
www.Xamarin.com
What is an iBeacon?
• Apple calls it:
• “A new class of low-powered, low-cost
transmitters that can notify iOS 7 devices of
their presence.”
• What does this mean?
• Devices that can notify apps of exact device
proximity and location awareness that was
never possible before.
How do iBeacons Work?
• Bluetooth 4.0 LE! (SMART)
• Low energy
• Long battery life
• 2.4Ghz Band
• Regions
• Enter/Exit regions for notifications
• Ranging
• Immediate, Near, Far
“Fun” Bluetooth Specs
Spec Classic Bluetooth Bluetooth LE
Distance/Range
(theoretical)
100 m (330ft) 50 m (160ft)
OTA Data 1-3 Mbit/s 1 Mbit/s
Application throughput .7-2.1 Mbit/s .27 Mbit/s
Security 56/128-bit 128-bit AES
Peak current
Consumption
<30 mA <15 mA
Power Consumption 1 mW .01 – .5 mW
Latency 100ms 6ms
Voice YES NO
How does Bluetooth LE Work?
• GATT (Generic Attribute Profile)
• UUIDs!
• Flow:
--------------Attributes --------------
What do we care about? (BLE vs iBeacon)
• UUIDs
• Unique Identifier that each iBeacon has
• Example: B9407F30-F5F8-466E-AFF9-25556B57FE6D
• Regions
• Major & Minor
• Unique region code that iBeacons can be
programmed to have.
• Example: 2755, 1
What can be an iBeacon?
• Your iOS 7.0 Device
• iPhone 4S, iPad 3rd
Gen+, iPad Mini,
iPod Touch 5th
Gen+
What can be an iBeacon?
• Cute Little Devices You Buy
• More on this later
What can be an iBeacon?
• NOT your Android device!
What can find iBeacons?
• Your iOS 7.0 Device
• iPhone 4S, iPad 3rd
Gen+, iPad Mini, iPod Touch 5th
Gen+
• Your Android Device
• Well some of them… maybe… Android 4.3+
• Nexus 5/4/7/10, HTC One & Max, Moto
G/X/RAZR/Ultra/Maxx/Mini, S4, Sony Xperia
• Nothing on Windows Phone or Windows 8 yet 
What can you do with iBeacons?
In the House
In Stadiums
In Stores
Apple Store
http://appleinsider.com/articles/13/12/06/first-look-using-ibeacon-location-awareness-at-an-apple-store
What else???
• Museums
• Scavenger Hunts
• Athletics
• Restaurants
• About a gazillion other things!
Why should I care?
• Differentiates your app
• Clients will start to demand it
• So many uses untapped for context aware apps
• Because they are cool
• Because you should 
• Or maybe not
• If you want to
Where to get iBeacons?
• Your iOS 7.0 Device
• iPhone 4S, iPad 3rd
Gen+, iPad Mini, iPod Touch 5th
Gen+
• Estimote
• 3 for $100, development kits
• Battery Powered (2+ years, watch battery)
• Super cute
• Radius Networks
• $19 - $30 per beacon
• USB powered
iOS Demo
What is Xamarin?
Unique Approach
• Native User Interface
• Native Performance
• Shared code across platforms
• C# & .NET Framework
• Full API Coverage
iOS Demo
How iOS 7.1 Changed Everything!
• Background Notifications!
• Wait? It couldn’t do this???
• Location Permissions (opt-out)
• Harder
• Better
• Faster
• Stronger
• Aka bug fixes…
State of Android iBeacons
• Is it built in?
• Kind of, not really…
• Samsung vs HTC vs Google
• Android 4.3 Changes the Game
• Kind of a development hot mess…
• Crippling Bug (Bluetooth has stopped working)
• Sometimes…?
• Different Implementations
Components/SDKs to the Rescue
Estimote SDK
Radius Networks iBeacon Service
Android Demo
Resources
•Code: https://github.com/jamesmontemagno/iBeaconsEverywhere
•Xamarin.com
•Estimote.com
•Android Bluetooth Docs:
• http://developer.android.com/guide/topics/connectivity/bluetooth-le.html
•iOS Beacons Docs: https://developer.apple.com/library/ios/documentation/userexperience/conceptual/
LocationAwarenessPG/RegionMonitoring/RegionMonitoring.html
• Or search for “Region Monitoring and iBeacon”
•Cool Raspberry-Pi project:
• http://developer.radiusnetworks.com/2013/10/09/how-to-make-an-ibeacon-out-of-a-raspberry-pi.html
Stalk Me:
•Twitter:
• @JamesMontemagno
•Blog:
• www.MotzCod.es
•GitHub:
• /JamesMontemagno
•Email:
• James.Montemagno@Xamarin.com

More Related Content

PDF
iBeacons for Everyone, from iOS to Android - James Montemagno | FalafelCON 2014
PPTX
Xamarin iBeacon Mini-hack using Estimote iBeacons
PDF
Trifork iBeacon Demo Lunch Talk
PPTX
X-platform iBeacon apps with Xamarin
PDF
iBeacon introduction and overview
PDF
Intro to iBeacon and Bluetooth Low Energy
PDF
iBeacon Workshop by Reque.st
PDF
iBeacon and Bluetooth LE: An Introduction
iBeacons for Everyone, from iOS to Android - James Montemagno | FalafelCON 2014
Xamarin iBeacon Mini-hack using Estimote iBeacons
Trifork iBeacon Demo Lunch Talk
X-platform iBeacon apps with Xamarin
iBeacon introduction and overview
Intro to iBeacon and Bluetooth Low Energy
iBeacon Workshop by Reque.st
iBeacon and Bluetooth LE: An Introduction

What's hot (20)

PDF
NewAer Beacon Summit Dusseldorf 2015
PPT
IBeacons and Eddystone
PDF
iBeacon Indoor Proximity System
PPTX
I beacons 101
PPT
Android vs iOS
PDF
Health Care Clipboard iPad Application
PDF
Building Mobile Proximity Apps with iBeacon
PPTX
What is iBeacon in iOS?
PPTX
Eddystone beacons: Everything you need to know
PDF
Location-Aware Salesforce1 Development with Beacons
PDF
iOS Ecosystem @ Fiera del Radioamatore Pordenone
PPT
Spectacular features of i phone 6 with compatible ios 8
PDF
Social Zombies Gone Wild: Totally Exposed and Uncensored
PPTX
iPhone
PPTX
The Hardware to Web Commerce Revolution
PPTX
Telerik AppBuilder, Estimote Beacons, and the IoT - Presentation for TelerikNEXT
PDF
Why Streethawk re-wrote ibeacon handling on Android
PPT
Technology management
PDF
Building Location Aware Mobile Apps with iBeacons
PDF
Workshop: Building location-aware mobile apps with iBeacons
NewAer Beacon Summit Dusseldorf 2015
IBeacons and Eddystone
iBeacon Indoor Proximity System
I beacons 101
Android vs iOS
Health Care Clipboard iPad Application
Building Mobile Proximity Apps with iBeacon
What is iBeacon in iOS?
Eddystone beacons: Everything you need to know
Location-Aware Salesforce1 Development with Beacons
iOS Ecosystem @ Fiera del Radioamatore Pordenone
Spectacular features of i phone 6 with compatible ios 8
Social Zombies Gone Wild: Totally Exposed and Uncensored
iPhone
The Hardware to Web Commerce Revolution
Telerik AppBuilder, Estimote Beacons, and the IoT - Presentation for TelerikNEXT
Why Streethawk re-wrote ibeacon handling on Android
Technology management
Building Location Aware Mobile Apps with iBeacons
Workshop: Building location-aware mobile apps with iBeacons
Ad

Similar to iBeacons for Everyone, From iOS to Android (20)

PDF
Gaming is on-the-go
PDF
The future of the mobile web
KEY
HTML5 로 iPhone App 만들기
PPTX
Android vs iOS
PDF
iPhone System
PPTX
Zikit Review on iBeacon Technology (1st Israeli iBeacon Hackathon)
PDF
Mobile Web High Performance
PDF
台科大機械系 c 程式語言第二次演講
PDF
Mobile development
PDF
Mobile & Wearables Games for Health 2014 Tutorial
PDF
Smau milano 2012 arena social media emanuele-bolognesi
PDF
A crash course in iBeacon technology
PDF
iOS App Development and Marketing
PPTX
iOS platform
PDF
Best practices for delivering quality web experiences
PPTX
I phone 11 features
KEY
Js On Mobile Devices
PDF
AppsFuel, il nuovo marketplace per mobile web app e mobile site!
PPTX
Milestone 3 final project
PPT
Android OS vs iOS
Gaming is on-the-go
The future of the mobile web
HTML5 로 iPhone App 만들기
Android vs iOS
iPhone System
Zikit Review on iBeacon Technology (1st Israeli iBeacon Hackathon)
Mobile Web High Performance
台科大機械系 c 程式語言第二次演講
Mobile development
Mobile & Wearables Games for Health 2014 Tutorial
Smau milano 2012 arena social media emanuele-bolognesi
A crash course in iBeacon technology
iOS App Development and Marketing
iOS platform
Best practices for delivering quality web experiences
I phone 11 features
Js On Mobile Devices
AppsFuel, il nuovo marketplace per mobile web app e mobile site!
Milestone 3 final project
Android OS vs iOS
Ad

More from James Montemagno (20)

PDF
What's new and next for mobile development with .NET
PPTX
Taking Mobile Development Serverless with C#
PDF
.NET North UG - What’s new & next for Xamarin developers
PPTX
Building Stream Deck Plugins in C#
PDF
.Net Dev Summit 2020 - What's new and next for Xamarin developers
PDF
Creating Island Tracker - Xamarin, Azure Functions, Table Storage, & More
PDF
Xamarin.forms Shell + Navigation
PPTX
Seattle Mobile .NET User Group - Nov. 13th 2019
PDF
Expert Day - What's New, Hot, & Awesome for Xamarin Devs
PDF
Oxford .NET - Go Mobile with Xamarin
PDF
Xamarin - New & Awesome + Building Xamarin.Essentials
PDF
Zebra App Forum 2019 - Building iOS & Android Apps with Xamarin
PPTX
Stunning Mobile Apps with the Xamarin Visual Design System​
PDF
What's New, Hot, & Awesome for Xamarin Developers!
PDF
Introduction to Mobile Development with Xamarin -DotNet Westide
PDF
What's New in Xamarin? - Santo Domingo
PDF
Xamarin: The Future of App Development
PDF
Optimizing and Extending Xamarin.Forms iOS, Android, and UWP Apps
PDF
.NET Everywhere and for Everyone
PDF
MS Experiences 17 - Xamarin: Future of Mobile Development
What's new and next for mobile development with .NET
Taking Mobile Development Serverless with C#
.NET North UG - What’s new & next for Xamarin developers
Building Stream Deck Plugins in C#
.Net Dev Summit 2020 - What's new and next for Xamarin developers
Creating Island Tracker - Xamarin, Azure Functions, Table Storage, & More
Xamarin.forms Shell + Navigation
Seattle Mobile .NET User Group - Nov. 13th 2019
Expert Day - What's New, Hot, & Awesome for Xamarin Devs
Oxford .NET - Go Mobile with Xamarin
Xamarin - New & Awesome + Building Xamarin.Essentials
Zebra App Forum 2019 - Building iOS & Android Apps with Xamarin
Stunning Mobile Apps with the Xamarin Visual Design System​
What's New, Hot, & Awesome for Xamarin Developers!
Introduction to Mobile Development with Xamarin -DotNet Westide
What's New in Xamarin? - Santo Domingo
Xamarin: The Future of App Development
Optimizing and Extending Xamarin.Forms iOS, Android, and UWP Apps
.NET Everywhere and for Everyone
MS Experiences 17 - Xamarin: Future of Mobile Development

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Cloud computing and distributed systems.
PPTX
MYSQL Presentation for SQL database connectivity
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Machine learning based COVID-19 study performance prediction
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Spectroscopy.pptx food analysis technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPT
Teaching material agriculture food technology
PPTX
Programs and apps: productivity, graphics, security and other tools
Unlocking AI with Model Context Protocol (MCP)
Building Integrated photovoltaic BIPV_UPV.pdf
cuic standard and advanced reporting.pdf
Network Security Unit 5.pdf for BCA BBA.
Encapsulation_ Review paper, used for researhc scholars
Diabetes mellitus diagnosis method based random forest with bat algorithm
Chapter 3 Spatial Domain Image Processing.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Cloud computing and distributed systems.
MYSQL Presentation for SQL database connectivity
The Rise and Fall of 3GPP – Time for a Sabbatical?
Machine learning based COVID-19 study performance prediction
“AI and Expert System Decision Support & Business Intelligence Systems”
Spectroscopy.pptx food analysis technology
The AUB Centre for AI in Media Proposal.docx
Understanding_Digital_Forensics_Presentation.pptx
Teaching material agriculture food technology
Programs and apps: productivity, graphics, security and other tools

iBeacons for Everyone, From iOS to Android

  • 1. iBeacons for Everyone, from iOS to Android! James Montemagno Developer Evangelist, Xamarin @JamesMontemagno www.Xamarin.com
  • 2. What is an iBeacon? • Apple calls it: • “A new class of low-powered, low-cost transmitters that can notify iOS 7 devices of their presence.” • What does this mean? • Devices that can notify apps of exact device proximity and location awareness that was never possible before.
  • 3. How do iBeacons Work? • Bluetooth 4.0 LE! (SMART) • Low energy • Long battery life • 2.4Ghz Band • Regions • Enter/Exit regions for notifications • Ranging • Immediate, Near, Far
  • 4. “Fun” Bluetooth Specs Spec Classic Bluetooth Bluetooth LE Distance/Range (theoretical) 100 m (330ft) 50 m (160ft) OTA Data 1-3 Mbit/s 1 Mbit/s Application throughput .7-2.1 Mbit/s .27 Mbit/s Security 56/128-bit 128-bit AES Peak current Consumption <30 mA <15 mA Power Consumption 1 mW .01 – .5 mW Latency 100ms 6ms Voice YES NO
  • 5. How does Bluetooth LE Work? • GATT (Generic Attribute Profile) • UUIDs! • Flow: --------------Attributes --------------
  • 6. What do we care about? (BLE vs iBeacon) • UUIDs • Unique Identifier that each iBeacon has • Example: B9407F30-F5F8-466E-AFF9-25556B57FE6D • Regions • Major & Minor • Unique region code that iBeacons can be programmed to have. • Example: 2755, 1
  • 7. What can be an iBeacon? • Your iOS 7.0 Device • iPhone 4S, iPad 3rd Gen+, iPad Mini, iPod Touch 5th Gen+
  • 8. What can be an iBeacon? • Cute Little Devices You Buy • More on this later
  • 9. What can be an iBeacon? • NOT your Android device!
  • 10. What can find iBeacons? • Your iOS 7.0 Device • iPhone 4S, iPad 3rd Gen+, iPad Mini, iPod Touch 5th Gen+ • Your Android Device • Well some of them… maybe… Android 4.3+ • Nexus 5/4/7/10, HTC One & Max, Moto G/X/RAZR/Ultra/Maxx/Mini, S4, Sony Xperia • Nothing on Windows Phone or Windows 8 yet 
  • 11. What can you do with iBeacons?
  • 16. What else??? • Museums • Scavenger Hunts • Athletics • Restaurants • About a gazillion other things!
  • 17. Why should I care? • Differentiates your app • Clients will start to demand it • So many uses untapped for context aware apps • Because they are cool • Because you should  • Or maybe not • If you want to
  • 18. Where to get iBeacons? • Your iOS 7.0 Device • iPhone 4S, iPad 3rd Gen+, iPad Mini, iPod Touch 5th Gen+ • Estimote • 3 for $100, development kits • Battery Powered (2+ years, watch battery) • Super cute • Radius Networks • $19 - $30 per beacon • USB powered
  • 20. What is Xamarin? Unique Approach • Native User Interface • Native Performance • Shared code across platforms • C# & .NET Framework • Full API Coverage
  • 22. How iOS 7.1 Changed Everything! • Background Notifications! • Wait? It couldn’t do this??? • Location Permissions (opt-out) • Harder • Better • Faster • Stronger • Aka bug fixes…
  • 23. State of Android iBeacons • Is it built in? • Kind of, not really… • Samsung vs HTC vs Google • Android 4.3 Changes the Game • Kind of a development hot mess… • Crippling Bug (Bluetooth has stopped working) • Sometimes…? • Different Implementations
  • 24. Components/SDKs to the Rescue Estimote SDK Radius Networks iBeacon Service
  • 26. Resources •Code: https://github.com/jamesmontemagno/iBeaconsEverywhere •Xamarin.com •Estimote.com •Android Bluetooth Docs: • http://developer.android.com/guide/topics/connectivity/bluetooth-le.html •iOS Beacons Docs: https://developer.apple.com/library/ios/documentation/userexperience/conceptual/ LocationAwarenessPG/RegionMonitoring/RegionMonitoring.html • Or search for “Region Monitoring and iBeacon” •Cool Raspberry-Pi project: • http://developer.radiusnetworks.com/2013/10/09/how-to-make-an-ibeacon-out-of-a-raspberry-pi.html
  • 27. Stalk Me: •Twitter: • @JamesMontemagno •Blog: • www.MotzCod.es •GitHub: • /JamesMontemagno •Email: • James.Montemagno@Xamarin.com

Editor's Notes

  • #4: Nokia in 2006 called Wibree (merged in 2010 with core standard) Talk about interference of 2.4GHz Band GATT (Generic Attribute Profile) -&amp;gt; Specification for sending and receiving short pieces of data known as attributes.
  • #5: Talk about interference of 2.4GHz Band GATT (Generic Attribute Profile) -&amp;gt;
  • #6: Talk about interference of 2.4GHz Band GATT (Generic Attribute Profile) -&amp;gt;The GATT protocol provides a number of commands for the client to discover information about the server. Discover UUIDs for all primary services Find a service with a given UUID Find secondary services for a given primary service Discover all characteristics for a given service Find characteristics matching a given UUID Read all descriptors for a particular characteristic
  • #7: Talk about interference of 2.4GHz Band GATT (Generic Attribute Profile) -&amp;gt;The GATT protocol provides a number of commands for the client to discover information about the server. Discover UUIDs for all primary services Find a service with a given UUID Find secondary services for a given primary service Discover all characteristics for a given service Find characteristics matching a given UUID Read all descriptors for a particular characteristic
  • #11: Nokia has something…. And maybe will release it?
  • #20: Let’s look at Xamarin and VS 2013 to build modern apps on iOS, Android, and Windows Let’s start with something familiar
  • #21: UI build natively per platform, leveraging C# C# + XAML C# + XML C# + XIB One shared app logic code base, iOS, Android, Mac, Windows Phone, Windows Store, Windows
  • #22: Let’s look at Xamarin and VS 2013 to build modern apps on iOS, Android, and Windows Let’s start with something familiar
  • #23: Reboot device and your app still works! Swipe close will still work
  • #26: Let’s look at Xamarin and VS 2013 to build modern apps on iOS, Android, and Windows Let’s start with something familiar