SlideShare a Scribd company logo
Building Apps that Sense,
Understand and Adapt
JAM844
Ranbijay Kumar – BlackBerry
Sean McVeigh – QNX
Louis Tang – Viet Hop Software
September 26-27, 2013
1
Sense Understand Adapt
BlackBerry 10 Experience
3
Adapt
Sense
Understand
BlackBerry 10 Experience
4
Sense
Network ConnectivityNFC
Location
Accessories
OrientationDisplays
Touch
Microphone
Geofence
Screens
Acceleration
Heading
Proximity Light
Holster
Smart Card
BlackBerry 10 Experience
5
Understand Contacts
Calendar
Email BBMSMS
Geocoding
PIM Headless
Call Logs
Analytics
Analytics
BlackBerry ID
Fused Sensors
BlackBerry 10 Experience
6
Adapt Active Frames
Cards
Connections
PeekInvocation
Adaptive UI
2nd Screens
Notifications Hub
Share
Hot Keys
Accessibility
Text Filters
Battery
Let's Sense
7
Touch Interactions
Know when you’re touched
Be sensitive to them
Use interactive controls
Take advantage of gestures
8
Location
Know where you are
A pivotal event for apps
9
Location
10
Cell Tower WLAN GPS
Carrier Assisted
Modes
Sensors
How are you holding it
You are going too fast
You’re off by 180 degrees
Rollercoasters are awesome
11
Sensors
Ÿ  Accelerometer
„  Acceleration in m/s/s (x,y,z)
Ÿ  Magnetometer
„  Magnetic field in uT (x,y,z)
Ÿ  Gyroscope
„  Angular velocity in rad/s (x,y,z)
Ÿ  RotationMatrix
„  Rotation on x, y, z
Ÿ  Compass
„  Degrees from north
12
Demo
ARKick
13
Device Surroundings
It’s too bright, I cant see.
Silence please.
I know that face!
Don’t get too close, I bite.
14
Sensors
Ÿ  Proximity
„  Distance in cm (or close/far)
Ÿ  Light
„  Illumination in lux
Ÿ  Holster
„  Holster detection
Ÿ  Microphone
„  Audio intensity, waveform
Ÿ  Camera
„  Face detection, surveillance
15
Demo
Flip Shush
SoundHound
16
Network Connectivity
Know your network
17
NFC
I like the sound of that tap!
Get me the data.
18
Phone Calls
Detect cellular or VOIP calls
When they get connected
And when they get disconnected
19
Accessories (Bluetooth/USB)
Sense input devices
Gamepads, keyboards, mice
20
BlackBerry Balance
I am in Personal – Let's party
I am in Work – Let's be serious
21
Headless Apps
Ÿ  Do I need to be headless
Ÿ  Should I always run
„  Long Running Headless Apps
Ÿ  Should I run on certain triggers
„  Trigger based headless apps
22
Headless Triggers
Ÿ  Port directed SMS
Ÿ  Geofence Enter/Exit
Ÿ  Device Startup
Ÿ  Push Notifications
Ÿ  more to come…
23
Let's Understand
24
Contacts
Ÿ  Create/Read/Update/Delete
Ÿ  Find out recent activities
Ÿ  Know when people change
Ÿ  Find the right guy
25
Messages
Ÿ  Create/Read/Update/Delete email &
SMS
Ÿ  Know when new ones arrive
Ÿ  Find that conversation
26
Calendar
Ÿ  Create/Read/Update/Delete events
Ÿ  Know when events change
Ÿ  Search the database
27
BBM
Ÿ  Who else has my app?
Ÿ  Who doesn’t have it yet?
Ÿ  Read user profile
28
Phone Calls
Ÿ  Retrieve who called
Ÿ  When did they call?
Ÿ  When is a call being received?
Ÿ  Augment the sense!
29
Network Connectivity
Should I transfer now?
Are their better hotspots to connect to?
30
Demo
Nobex
31
Geofence
Add meaning around locations
“Truck 181 went off the grid”
32
Geocoding
Lat/Lon vs Addresses
OR
Device vs Human
33
Demo
Foursquare
34
Fused Sensors
Sensors are cool
Fused sensors are better
Ÿ  Create new data types
„  RotationMatrix
Ÿ  Enhance sensor data
„  Compass
35
Demo
Star Tracker
36
Analytics
Use to measure
Ÿ  Audience reach
Ÿ  Engagement
Ÿ  Usage pattern
Ÿ  Retention, conversions, revenue and more
Use to track key metrics
Ÿ  purchases, downloads, revenues, rankings, etc.
37
Let's Adapt
38
Invocation Framework
Invoke another app for a task
Embed apps inside apps
Transfer data (files) between apps
Get invoked
39
Core Invoke Targets
40
Documents	
  
Mul-media	
  
Communicate	
  
Produc-vity	
  
Social	
  
Get invoked
Ÿ  Register for URIs
Ÿ  Register for MIME types
Ÿ  Register actions
„  OPEN, SET, SHARE
Ÿ  User managed Defaults
41
BBM
Ÿ  Update user profile
„  Status, avatar, availability
Ÿ  Update Application Box Profile
„  Achievements, badges
42
NFC
Ÿ  Read/Write NFC tags
Ÿ  Transfer content P2P
Ÿ  Emulate a card/smart card
43
Phone Calls
Ÿ  Make phone calls
Ÿ  Disconnect phone calls
44
String Pattern
Ÿ  Register for String Patterns
„  RegEx or Strings
Ÿ  Make them active links
Ÿ  Get invoked by them
45
Notifications
Something that can wait?
„  Hub notifications with invoke
Immediate attention required?
„  Show a Notification Dialog
Not immediate but can’t wait too long
„  Instant Preview with invoke
46
Hub Integration
Ÿ  Appear as an account in Hub
Ÿ  How will you sync your messages?
Ÿ  Push Notification Service
„  Requires Push trigger
Ÿ  Periodic sync
„  Requires a long running headless
Ÿ  Connect with invoke hooks for
„  View/Delete/Reply etc.
47
Active Frames
Show the single most important item
Is it more important for users to see the
state of the app when it is minimized?
Update when new data arrives
48
Demo
MLB
49
Network Connectivity
Ÿ  Transfer data
Ÿ  Monitor progress
Ÿ  Adapt to errors, speed and cost
50
Battery
Ÿ  Monitor
„  Condition
„  Charge capacity
„  Level
„  Temperature
Ÿ  Should you still play that video?
Ÿ  Should you turn off location queries?
51
Who’s Peeking?
Ÿ  Respond to peek events
Ÿ  Show something contextual
52
2nd Screens
What displays are available?
Mirror vs Extend
Invoke Miracast Card
53
Adaptive UI
One UI to rule them all?
Don’t simply scale up/down
Make your UI adaptive
Layout, size, visibility
54
Accessories (Bluetooth/USB)
A full size keyboard can be much faster
Take inputs from Gamepads
55
Demo
Critical Wave
56
Case Study
Goi Taxi
57
How can I find out more?
58
• Code	
  
• Example	
  source	
  code	
  available	
  on	
  Git	
  Hub	
  
h8ps://blackberry.github.com	
  
• Support	
  
• More	
  detailed	
  help	
  and	
  informaAon	
  is	
  available	
  on	
  the	
  Support	
  Forums	
  
h8p://supporDorums.blackberry.com	
  
• Contact	
  us	
  if	
  you	
  have	
  ques-ons	
  
• Twi8er	
  
• Ranbijay	
  Kumar	
  @ranbijay	
  
• Sean	
  McVeigh	
  	
  	
  	
  @sdlmcveigh	
  
Resources	
  
For More Information…
Ÿ  JAM805 - Beyond the Device: Extending the Device
Experience with Wireless Peripherals
Ÿ  JAM804 - Beyond the Device: Extending the Device
Experience with (mostly) Wired Peripherals
Ÿ  JAM803 - How the Use of NFC is Evolving: Innovative
Ways to Use NFC Beyond Payments
Ÿ  JAM834 – Making the Most of Cards and Invocation
	
   59
For More Information…
Ÿ  JAM840 – Headless Apps with Cascades
Ÿ  JAM842 – Native Camera: View the World from a
Different Angle
Ÿ  JAM839 – Maps, Geofencing and Location Based
Services in your App
Ÿ  JAM825 – Understanding Who Uses Your App and How
with in-app Analytics
	
   60
THANK YOU
JAM844
Ranbijay Kumar – BlackBerry
Sean McVeigh – QNX
Louis Tang – Viet Hop Software
September 26-27, 2013
61

More Related Content

PDF
JAM844 - Building Apps that Sense, Understand and Adapt
PPTX
Future belgium 1606(1)
PDF
Die Beacon Technologie: Das müssen Sie wissen
 
DOCX
Summative last.IBS
PDF
Das kleine E-Mail-Marketing Einmaleins: Diese Begriffe sollten Sie kennen
 
PDF
Tiec strategy
PDF
Caperucita md
JAM844 - Building Apps that Sense, Understand and Adapt
Future belgium 1606(1)
Die Beacon Technologie: Das müssen Sie wissen
 
Summative last.IBS
Das kleine E-Mail-Marketing Einmaleins: Diese Begriffe sollten Sie kennen
 
Tiec strategy
Caperucita md

Viewers also liked (9)

PPT
Presentation1
PPT
Watch golden lions vs pumas live coverage
PPTX
Phase2
PDF
Gbi magic
PPT
Grupo damasco
PPTX
Наступність у викладанні математики при розв'язуванні текстових задач у почат...
PPTX
Final Review
Presentation1
Watch golden lions vs pumas live coverage
Phase2
Gbi magic
Grupo damasco
Наступність у викладанні математики при розв'язуванні текстових задач у почат...
Final Review
Ad

Similar to Building Apps that Sense, Understand and Adapt. (20)

PDF
Phonegap Essentials Building Crossplatform Mobile Apps John M Wargo
PDF
CatDroid talk: thinking different, sharing ideas
PDF
Phonegap deep-dive
PPTX
DroidConIT Wrap-up - Enchant me
PPTX
Mobile Software Engineering (at University of Cambridge Wednesday Seminars)
PDF
Android is not just mobile
PDF
Platform update and super apps ON BB App World
PDF
Phone gap nikolaionken-08-06
PDF
Mobile Prototyping
PDF
Creating mobile apps with Cordova for iOS, Android and BlackBerry 10
PPTX
Windows Phone 8 Dev.KickStart - Sensors and integration
PPTX
Make Cross-platform Mobile Apps Quickly - SIGGRAPH 2014
PDF
Android Introduction
KEY
Where 2.0
PDF
Android Application Development Programming With The Google Sdk 1st Edition R...
PPT
Creating Android Apps with PhoneGap
PDF
Building Native Apps With Titanium Mobile
PPTX
Nonintrusive semantic html5
PPTX
Mobile First Approach
PDF
Developers Guide To The Galaxy 8th edition
Phonegap Essentials Building Crossplatform Mobile Apps John M Wargo
CatDroid talk: thinking different, sharing ideas
Phonegap deep-dive
DroidConIT Wrap-up - Enchant me
Mobile Software Engineering (at University of Cambridge Wednesday Seminars)
Android is not just mobile
Platform update and super apps ON BB App World
Phone gap nikolaionken-08-06
Mobile Prototyping
Creating mobile apps with Cordova for iOS, Android and BlackBerry 10
Windows Phone 8 Dev.KickStart - Sensors and integration
Make Cross-platform Mobile Apps Quickly - SIGGRAPH 2014
Android Introduction
Where 2.0
Android Application Development Programming With The Google Sdk 1st Edition R...
Creating Android Apps with PhoneGap
Building Native Apps With Titanium Mobile
Nonintrusive semantic html5
Mobile First Approach
Developers Guide To The Galaxy 8th edition
Ad

More from Dr. Ranbijay Kumar (11)

PDF
BlackBerry10: "Built For BlackBerry (BFB)"
PDF
JAM805 - Beyond the Device
PDF
JAM803-How the Use of NFC is Evolving
PDF
Ranbijay Kumar - BlackBerry Jam Americas 2013
PDF
BlackBerry10 and iOS app SDK/Platform Comparison
PDF
Online Industry - New Era
PDF
BlackBerry10: Blurring the Boundaries between HTML5 & Native Apps
PDF
Bring Your Android Apps to BlackBerry 10 in minutes
PDF
Identifying Bottlenecks in Mobile Cloud Computing (MCC)
PDF
JAM316 - Native API Deep Dive: Multimedia Playback & Streaming
PDF
JAM819 - Native API Deep Dive: Data Storage and Retrieval
BlackBerry10: "Built For BlackBerry (BFB)"
JAM805 - Beyond the Device
JAM803-How the Use of NFC is Evolving
Ranbijay Kumar - BlackBerry Jam Americas 2013
BlackBerry10 and iOS app SDK/Platform Comparison
Online Industry - New Era
BlackBerry10: Blurring the Boundaries between HTML5 & Native Apps
Bring Your Android Apps to BlackBerry 10 in minutes
Identifying Bottlenecks in Mobile Cloud Computing (MCC)
JAM316 - Native API Deep Dive: Multimedia Playback & Streaming
JAM819 - Native API Deep Dive: Data Storage and Retrieval

Recently uploaded (20)

DOCX
"Project Management: Ultimate Guide to Tools, Techniques, and Strategies (2025)"
PPTX
PHIL.-ASTRONOMY-AND-NAVIGATION of ..pptx
PDF
Instagram's Product Secrets Unveiled with this PPT
PPTX
The spiral of silence is a theory in communication and political science that...
PDF
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
PPTX
An Unlikely Response 08 10 2025.pptx
PPTX
Tour Presentation Educational Activity.pptx
PPTX
Introduction-to-Food-Packaging-and-packaging -materials.pptx
PDF
natwest.pdf company description and business model
PPTX
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
PPTX
Human Mind & its character Characteristics
DOC
学位双硕士UTAS毕业证,墨尔本理工学院毕业证留学硕士毕业证
PPTX
Impressionism_PostImpressionism_Presentation.pptx
PPTX
_ISO_Presentation_ISO 9001 and 45001.pptx
PDF
oil_refinery_presentation_v1 sllfmfls.pdf
PPTX
Introduction to Effective Communication.pptx
PPTX
Relationship Management Presentation In Banking.pptx
PPT
First Aid Training Presentation Slides.ppt
DOCX
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
PPTX
Learning-Plan-5-Policies-and-Practices.pptx
"Project Management: Ultimate Guide to Tools, Techniques, and Strategies (2025)"
PHIL.-ASTRONOMY-AND-NAVIGATION of ..pptx
Instagram's Product Secrets Unveiled with this PPT
The spiral of silence is a theory in communication and political science that...
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
An Unlikely Response 08 10 2025.pptx
Tour Presentation Educational Activity.pptx
Introduction-to-Food-Packaging-and-packaging -materials.pptx
natwest.pdf company description and business model
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
Human Mind & its character Characteristics
学位双硕士UTAS毕业证,墨尔本理工学院毕业证留学硕士毕业证
Impressionism_PostImpressionism_Presentation.pptx
_ISO_Presentation_ISO 9001 and 45001.pptx
oil_refinery_presentation_v1 sllfmfls.pdf
Introduction to Effective Communication.pptx
Relationship Management Presentation In Banking.pptx
First Aid Training Presentation Slides.ppt
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
Learning-Plan-5-Policies-and-Practices.pptx

Building Apps that Sense, Understand and Adapt.