Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Building	Loca@on-Aware	Apps	Using		
Oracle	Mobile	Cloud	Services	
Oracle	Enterprise	Mobility	in	Ac3on	
Steven	Davelaar	
Cloud	Solu@ons	Architect	
Oracle	Mobile	&	Cloud	A-Team	
@stevendavelaar	
1
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Safe	Harbor	Statement	
The	following	is	intended	to	outline	our	general	product	direc@on.	It	is	intended	for	
informa@on	purposes	only,	and	may	not	be	incorporated	into	any	contract.	It	is	not	a	
commitment	to	deliver	any	material,	code,	or	func@onality,	and	should	not	be	relied	upon	
in	making	purchasing	decisions.	The	development,	release,	and	@ming	of	any	features	or	
func@onality	described	for	Oracle’s	products	remains	at	the	sole	discre@on	of	Oracle.	
2
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 3	
Agenda	
•  Introduc@on	to	Loca@on-Based	Services	and	Beacons	
•  Use	Cases	with	demo’s	
•  Using	Oracle	MCS	to	build	LBS	apps
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
		
4	Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
The	World	Has	Gone	Mobile	
150		the	average	number	of	
@mes	a	person	look	as	their	
mobile	each	day		
We	look	at		
our	phones	more		
than	we	look	at		
our	loved	ones	
4
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 5	
Always	on,	always	connected,	context	driven	
Mobile	–	The	new	Engagement	Channel	
MY	KEYS	
My	Keys
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 6	
Endless	opportuni3es	
Loca@on-Based	Services	
•  Proximity	Marke@ng	
•  Loca@on	Guides	
– City,	Museum,	Campus,	Airport,	etc	
•  Car	Parking	Assistance	
•  Hospital	Nursing	
•  Hotel	Check-In	
•  Dinner	Services	
•  Fraud	Preven@on
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 7	
Loca@on-Based	Services	–	Some	Technology	Op@ons	
•  Global	Posi@oning	System	(GPS)	
– Worldwide	coverage	
– Accuracy	3-8	meters		
•  WIFI	
– Signal	Strength	WIFI	Access	Points	
•  Beacon	Technology	
– Small	device	sending	low-energy	
bluetooth	signal	
– Micro-proximity	accuracy	(	<	1	meter)		
– No	internet	connec@on	needed
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
•  Bluetooth	Low	Energy	‘BLE’	
•  Op@mized	for	small	bursts	of	data.	
•  Impressive	bafery	Life	
•  Some	vendors	add	sensors	
•  iBeacons:	Apple’s	protocol	for	using	beacons	
•  AltBeacon:	OS	beacon	specifica@on	
•  Eddystone:	Google’s	open	beacon	format	
		
•  Iden@ty	(iBeacons)	
–  UUID:	B9407F30-F5F8-466E-AFF9-25556B57FE6D	
–  Major:	15987	(op@onal)	
–  Minor:	49849	(op@onal)	
More	About	Beacons	
8
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 9	
Use	case:	Retail	Marke@ng
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 Oracle	Confiden@al	–	Internal/Restricted/Highly	Restricted	 10
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 Oracle	Confiden@al	–	Internal/Restricted/Highly	Restricted	 11
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 Oracle	Confiden@al	–	Internal/Restricted/Highly	Restricted	 12
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 Oracle	Confiden@al	–	Internal/Restricted/Highly	Restricted	 13
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 Oracle	Confiden@al	–	Internal/Restricted/Highly	Restricted	 14
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 Oracle	Confiden@al	–	Internal/Restricted/Highly	Restricted	 15
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 16
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Understanding	iBeacon	Regions,	Ranging	&	Monitoring	
17	
•  Beacon	Region	
– Beacons	are	grouped	into	regions	
– NOT	related	to	geographic	proper@es	
•  Monitoring	
– Scans	beacon	regions:	enter/exit	region	
events	
– Works	in	foreground,	background	
– Works	even	when	app	is	killed	
•  Ranging	
– Scans	individual	beacons	
– Works	only	in	foreground		
– More	granular:	returns	list	of	beacons	in	
range	with	es@mated	distance
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Beacons	and	Augmented	Reality	
18	
Retail	
Museum
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 19	
Demo	Time…
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 20	
Demo’s	
•  Beacon	Management	Plamorm	
•  Oracle	HQ	Campus	Crawler	
•  Smart	Shopping	
•  Hospital	Nursing
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Demo	1	-	Beacons	Management	Console		
21	
• Iden@fy	a	Loca@on	
• Associate	a	Service	
• Associate	a	Beacon		
Support	for	GPS	/Beacon	Driven	Triggers
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Beacons	Management	Console	-	Loca@ons	
22
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Beacons	Management	Console-	Beacons	
23
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Beacons	Management	Console	–	Beacon	Auto-Detec@on	
24
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Beacons	Management	Console	–	Services	and	Files	
25
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Beacons	Management	Console	-	Categories	
26
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Beacons	Management	Console	–	User	Profiles	
27
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Demo	2	–	Beaconize	a	Campus		
28
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Campus	Crawler	
29
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Campus	Crawler	–	Accessing	Public	Service	
30
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Campus	Crawler-	Accessing	Private	Service	
31
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Demo	3	-	Beaconize	a	Shopping	Mall	
32
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Registra@on	
33
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Profile	Crea@on	
34	
Select	Categories	
user	is	interested	
in
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Start	Loca@on	Monitoring	
35	
GPS	for		
Outdoor	
Beacons	for		
Indoor
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 36	
Receive	Targeted	Content	
Na3ve	Push	No3fica3ons,	Tap	through	for	more	info…			
Current	
Beacon	
Region	
Shop	
Name	
Adver@sement	
Tap
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 37	
Receive	Targeted	Content	
Na3ve	Push	No3fica3ons,	Tap	through	for	more	info…			
Different	
Beacon	
Region
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Demo	4	-	Beaconize	a	Hospital	
38
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Hospital	Nurse	Assistance	
39
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Hospital	Nurse	Assistance	
40
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Building	Loca@on-Aware	Mobile	Apps	–	Complicated?	
41	
Client	Dev	Tools	
Integra3on	
Security	
Mobile	Services	
Monitor	&	Analyze	
Mul3ple	Environments	
Beacons	Management
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Oracle	Mobile	Plamorm	
Mobile	Applica@on	
Framework	
Mobile	Security	Mobile	Cloud	Service	
Simplifying	Enterprise	Mobility	
Integrate,	Monitor	&	
Analyze	
Develop	 Secure,	Deploy	&	
Manage
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
•  Centralise	mobile	integra@on	in	the	
cloud	
•  Design	mobile	specific	APIs	
– Shape	&	expose	services	and	APIs	
•  Pre-built	mobile	services	
– Push	no@fica@ons	
– File	Storage	
– Database	
– Offline	synchroniza@on	
– Loca@on	services	
•  Integrated	security	
Oracle	Mobile	Cloud	Service	
Making	mobile	simple
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
•  Analyze	business	impact	
•  Client	agnos@c	development	tools	
•  Diagnos@c	and	logging	
•  Built-in	con@nuous	delivery	SDLC	
– Development,	stage,	produc@on	areas	
– Artefact	versioning	
Oracle	Mobile	Cloud	Service	
Making	Mobile	Simple
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
MOBILE	APPLICATION	
FRAMEWORK	
Others	
Mobile APIs /
SDKs
SECURE	
MOBILE		
CLOUD	SERVICE	
Oracle	Mobile	Cloud	Service	
	
Users	
	
Built-in	APIs	
Offline	Sync	
No3fica3ons	
User	Mgmt	
	
Objs	
	
Storage	
Public	Cloud	
Connectors
3rd	Party	API	
Data	Shaping	
Custom	
	Logic	
Orchestrate	
ON-PREMISE	
PACKAGED	
APPLICATIONS	
CUSTOM	
APPLICATIONS	
CLOUD	
Custom	API	
Oracle	Cloud	
Enterprise	SaaS	
On-premise	
Outside-in,	Mobile	First	
Inside-out,	Service	first	
Analy3cs	
Diagnos3cs	 Usage	 Engagement	
Con3nuous	Development	
Monitoring	 SDLC	
ICS	
OSB	/	SOA	
Na3ve
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Oracle	Cloud	
Cloud/Internet	
On-Premise	
MCS	
Client	SDK	
Custom	APIs	Mobile	Backend	 Connectors	
Plamorm	APIs	
Oracle	Mobile	Cloud	Service	
REST	APIs
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
Geo	Services	
Beacon-
Enabled	Apps	
	
Oracle	Mobile	Cloud	Service	
Beacon	Management	Mobile	Backend	
Loca@on	
API	
Beacon	
Mngt	API	
Beacon	Management	Architecture	
Storage		API	
Service	Files	
Beacon	Mgt	
Console	
	
Database		API	
Beacon	Mngt	
DB	Tables	
Analy@cs		API	
Beacon	Entry	
Events
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 48	
	DB	API	Used	for	Beacon	Management	Data	Model	
MCS	Beacon	Management	–	Under	the	Covers
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 49	
Storage	API	Used	for	Beacon	Service	Files	
MCS	Beacon	Management	–	Under	the	Covers
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 50	
Custom	REST	API	Used	for	Management	App	and	Client	Apps	
MCS	Beacon	Management	–	Under	the	Covers
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 51	
Analy3cs	API	Used	to	Analyze/Monitor	App	Usage	
MCS	Beacon	Management	–	Under	the	Covers
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 52	
Analy3cs	API	Custom	Events	Used	to	Analyze	Beacon	Effec3veness		
MCS	Beacon	Management	–	Under	the	Covers
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 53	
Analy3cs	API	Custom	Events	Used	to	Analyze	Beacon	Effec3veness		
MCS	Beacon	Management	–	Under	the	Covers
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
•  Today’s	demos	are	built	against	Oracle	MCS	1.2	
•  New	Oracle	MCS	2.0	release	has	na@ve	support	for	loca@on-based	services	
– Support	for	places	(loca@ons),	devices	(like	beacons)	and	assets	
•  Future	MCS	versions		(plans	might	change,	nothing	commifed)	
– Extend	loca@on-based	support		
– Include	beacon	management	console	
54	
MCS	Beacon	Management	–	Current	Status
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 55	
Oracle	MCS	2.0	–	Loca@on	Services
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		 56	
Oracle	MCS	2.0	–	Loca@on	Services
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
•  Get	Oracle	MCS	(trial)	license	
•  Use	new	Client	Data	Model	(CDM)	in	Oracle	MAF	2.3.1	
– CDM	consumes	MCS	Beacon	Plamorm	RAML	file	
– Auto-generates	offline	persistence	layer	with	beacon	config	data	
•  Use	Cordova	iBeacon	Plugin		
– Range/Monitor	for	Beacons	
– Google	for	“oracle	ibeacon	maf”	
57	
MCS	Beacon	Management	–	Geung	Started	
	Building	a	beacon-enabled	client	app	using	Oracle	MAF
Copyright	©	2015	Oracle	and/or	its	affiliates.	All	rights	reserved.		
•  Support	for	any	type	of	communica@on	
– Push	no@fica@on,	Info	pages,	video,	audio	
•  Type	of	communica@on	configured	server-side	
– No	need	to	redeploy	app	when	beacon-driven	communica@on	needs	to	change	
•  User	preferences	for	tailored	communica@on		
•  Analy@cs	to	provide	insight	in	beacon	effec@veness	
•  Simple	REST	API	to	quickly	build	beacon-enabled	apps	
•  Beacon	management	console	for	easy	administra@on	
	
58	
MCS	Beacon	Management	–	Summary
Building beacon-enabled apps with Oracle MCS

Building beacon-enabled apps with Oracle MCS