Cómo Desarrollar Apps Que Interactúan Con El Mundo Real - iBeacons & BLE

35
CONFIDENTIAL & PROPRIETARY

Transcript of Cómo Desarrollar Apps Que Interactúan Con El Mundo Real - iBeacons & BLE

CONFIDENTIAL & PROPRIETARY

Cómo desarrollar apps que interactúan con el mundo realBluetooth Low Energy (BLE) & Apple iBeacon

www.solstice-mobile.com

agenda• Introducción - ¿Quiénes somos y qué hacemos?

• Sensores (BLE & iBeacons)

• Demo - Cómo utilizar el SDK

• Industria (Casos de Uso)

• Smart Office

• Preguntas

CONFIDENTIAL & PROPRIETARY

Madison, Wisconsin

Chicago, Illinois

Shanghai, China*

Berlin, Germany*

Houston, Texas

Buenos Aires, Argentina

Inc 5000 5 Years Running

Great Places to Work #14 Best Small Workplaces

Best Firms #1 in IT

Top Job Creators Top 15 Companies

4.9 STAR RATINGon glassdoor.com

98%employee retention rate

211 APPSwith 29.4 million downloads

repeat business

employees200+

New York City, New York*affiliate locations

Inner City 100 #56 Best Place to Work

129%3 year growth

founded in

2001

84%

www.solstice-mobile.com

CONFIDENTIAL & PROPRIETARY

our disciplines

Customer Experience Design

Digital strategy and governance

R&D-as-a-Service

Visual and Interaction Design

Mobile architecture

HTML5 web development

Outsourced DevOps, product support & QA

Native app development

Usability Research and Analysis

www.solstice-mobile.com

CONFIDENTIAL & PROPRIETARY

5-star app rating and top ranking for JD Powers &

Associates

#3 in all of m-commerce

256% increase in show floor

orders placed

Best Private Bank for

Innovation

Most innovative agriculture equipment

manufacturer.

Best end-to-end e-Discovery software

Bluetooth Low Energy (BLE)

Bluetooth Smart was originally introduced under the name Wibree by Nokia in 2006. It was merged into the main Bluetooth standard in 2010 with the adoption of the Bluetooth Core Specification Version 4.0

Mobile operating systems including iOS, Android, Windows Phone and BlackBerry, as well as OS X, Linux, and Windows 8, natively support Bluetooth Smart. The Bluetooth SIG predicts more than 90 percent of Bluetooth-enabled smartphones will support Bluetooth Smart by 2018.

bluetooth low energy / technology

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

BLE Characteristics Low peak, average and idle power consumption

Connectionless; no need to pair

50 meter range

Lower data rate (can’t stream audio)

bluetooth low energy / use cases

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

iBeacons

A proximity UUID (universally unique identifier), which is a 128-bit value that uniquely identifies one or more beacons as being of a certain type or from a certain organisation

A major value, which is a 16-bit unsigned integer that is used to differentiate beacons that have the same proximity UUID

A minor value, which is a 16-bit unsigned integer that is used to differentiate beacons that have the same proximity UUID and major value

apple iBeacon / protocol

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

Beacons Beacons are fixed devices that define a custom region

Each region has it's own unique id

Apps register the regions it would like to monitor

iOS notifies your app when the phone enters one of the regions you are monitoring

Your app can start ranging the proximity to all or some of the available beacons

apple iBeacon

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

Estimote Beacons and Stickers are small wireless sensors that you can attach to any location or object. They broadcast tiny radio signals which your smartphone can receive and interpret, unlocking micro-location and contextual awareness.

what are estimate beacons?

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

Hardware

User authorisation for region monitoring

Background refresh enabled for your app

Airplane mode off

Enough battery power

working with estimote / region monitoring

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

Handling Boundary-Crossing Events for a Geographical Region By default, every time the user’s current location crosses a

boundary region, the system generates an appropriate region event for your app.

Apps can implement the following methods to handle boundary crossings:

- MonitoringListener.onEnteredRegion(Region, List<Beacon>)

- MonitoringListener.onExitedRegion(Region)

working with estimote / region monitoring

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

The process that keeps track of beacons within range A region may have hundreds of beacons, for example a museum has one region and

hundreds of beacons

Each beacon has its own major, minor values but they are all part of the same region

Beacons go in and out of range as the user moves around exhibits

Available in iOS 7.0 and later & Android 4.3 or later

working with estimote / region monitoring

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

First we need to add in the manifest the permission to use the bluetooth radio

Then we need to register a services used by the SDK in order to scan

working with estimote / setting up our Android App

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

We define a region to monitor, this region could be the UUID only to look for a specific Brand of a retail store for example, or we can pass also major and minor values in case we need to be more specific.

If we don’t pass any parameter will look for any beacon,works like a wildcard.

working with estimote / ranging

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

working with estimote / region monitoring

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

working with estimote / region monitoring

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

working with estimote / region monitoring

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

This is a class that clients should use to interact with iBeacons. All name conventions come from iOS and Estimote iOS library. It allows to: range beacons (scan beacons and optionally filter them by their values) monitor beacons (track beacons in order to get events that device has entered or leaved regions of interest)

BeaconManager class

BeaconConnectionEstablishes connection to the beacon and reads its characteristics. Exposes methods to change beacon's UUID, major, minor, advertising interval and broadcasting power values. You can only change those values only if there is established connection to beacon. It is very important to close() connection when it is not needed.

working with estimote / region monitoring

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

Utils Class

computeAccuracy(Beacon beacon)

Indicates the one sigma horizontal accuracy in meters

Use this property to differentiate between beacons with the same proximity value

Do not use it to identify a precise location for the beacon. Accuracy values may fluctuate due to RF interference

A negative value in this property signifies that the actual accuracy could not be determined

computeProximity(Beacon beacon);

The value in this property gives a general sense of the relative distance to the beacon.

Use it to quickly identify beacons that are nearer to the user rather than farther away

working with estimote / beacon distance

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

Utils.Proximity

Proximity are constants that reflect the relative distance to a beacon.

Unknown : The proximity of the beacon could not be determined.

Immediate : The beacon is in the user’s immediate vicinity.

Near : The beacon is relatively close to the user.

Far : The beacon is far away.

working with estimote / beacon distance

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

Beacon Class

int RSSI;

RSSI Receiver Signal Strength

This value is the average RSSI value of the samples received since the range of the beacon was last reported to your app.

working with estimote / beacon distance

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

https://github.com/SolsticeConsulting/argentina-meetup-1

working with estimote / demos

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

Industria / Casos de uso

Beacon technology from Piper

Delivers coupons, offers, promotions, information on employment opportunities and customer surveys to consumers' smartphones as soon as they enter a restaurant.

Promotions improved McChicken sandwich sales by 8% and Chicken McNuggets sales by 7.5% versus the previous month.

Due to the pilot's success, Piper is working on installing beacons in 263 McDonald's franchises across Alabama, Georgia and South Carolina.

McDonald’s implements beacons to boost sales and customer satisfaction

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

Allows shoppers to locate items in-store on an aisle-by-aisle

Together with an in-app shopping list, allows shoppers to plan their shopping trips

 As shoppers add items to their lists in-app, the items are also pinned onto the app’s detailed store map

The mapping will use Geofence to understand which Target location a shopper is in, allowing for completely custom experiences

Target embracing indoor location with a new update

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

Beacons hits the beach - and a magazine near you

MOBILE APPS THAT INTERACT WITH THE PHYSICAL WORLD

smart office

www.solstice-mobile.com

CONFIDENTIAL & PROPRIETARY

32

smart office / demo

www.solstice-mobile.com

CONFIDENTIAL & PROPRIETARY

33 www.solstice-mobile.com

CONFIDENTIAL & PROPRIETARY

smart office / smart display

preguntas?

gracias! [email protected]