SlideShare a Scribd company logo
1 of 26
Drive Salesforce User Productivity with
the Pebble SmartWatch
Richard Tuttle
Oklahoma City Developer User Group Leader
@_drako
Jayvin Arora
Philadelphia Salesforce User Group Leader
@JayvinArora
Richard Tuttle
Oklahoma City Developer User Group Leader
Sr. Technical Architect
Seagate Technology
Jayvin Arora
Philadelphia Salesforce User Group Leader
Applications Development Manager
Agenda
• Introduction to Smart Watches and Pebble
• Pebble Design Patterns
• Integrating Pebble with Salesforce
Introduction to Smart Watches, and
Pebble
Technological Trends
• From Gartner’s Top 10 Strategic Technology Trends for 2014
 The Internet of Things
 The Personal Cloud
 Hybrid IT and Cloud Computing
Companies have access to wearable techhology
to connect their users to their company and personal clouds
securely.
Smart Watches
• Pros
– Extends mobile apps beyond the pocket
– Key use cases is “glance-able" information and light weight interactions.
• i.e. push notifications
– Lets people stay informed with discreet alerts/notifications, without having to look at phone.
– Can incorporate extensive functionality in the physical space where people just wear a
watch/used to wear a watch
– User Adoption is expected to grow to 130 Million users by 2018
Smart Watches
• Cons
– Limited System Resources:
• Limited battery life- limits the frequency of display updates.
– Difficult to have a meaningful UX
• Small screen space
• Limited UI functionality depending on the watch
– People see the devices as a gimmick.
– Narrow use cases, especially in a mobile society
Pebble Smartwatch
• Product Overview
– Released Q3 of 2013 via a kick starter (Compared with Apple Smartwatch 2015)
– Black and white e-paper display, ambient light sensors, vibrating motor, magnetometer and an
accelerometer.
– Compatible with Android and iOS devices
– 1 bit Graphical Display ( Black, White, and Dithered graphics)
– 3 Button Input
Pebble Smartwatch – Technical Considerations
Platforms
?
• iOS – SDK, and native Pebble app with PebbleKit-
JS
• Android – SDK, and native Pebble app with
PebbleKit-JS
• Windows Phone 8 – Nothing native at this point,
some custom apps derived from an open source
project called Flintlock and libpebble
• Blackberry – Haha, just kidding
Pebble Smartwatch
• Technical Considerations
– Tethered to your smart phone
– Communicates with phones via Bluetooth Low Energy ( BLE)
– Supports two-way communication between pebbles and smartphones running iOS or Android via
the AppMessage framework.
– Open Pebble SDK
– Battery life 5- 7 days
– Pebble provides code and background to get you started quickly.
Pebble Design Patterns
Components of a Pebble Application
The window stack
• Used to allow multiple layers of windows
throughout the entire Pebble UI
• WatchApps can have multiple windows used
for different purposes
• Control the flow of the application by pushing
different windows into/from the stack
• Can be used to separate functional areas of
your code
Pebble Applications
2 types of Applications in Pebble
• WatchApp
– Has to be accessed from the menu
– Doesn’t retain the main window space permanently
– Can be triggered to open from events sent by the
phone
– Access to all 3 right side buttons, accelerometer,
and magnetometer
• Watchface
– WatchApp that is designed to show the time
constantly
– Limited input options, no buttons, only
magnetometer and accelerometer
Components of a Watch App
• Pebble Watch App (Watch)
– This is the app on the watch. It handles the User Experience - Displays output and gathers input
– Written in C
• Smartphone running the Pebble App (Smartphone)
– This is the App on the phone that makes calls to the Webservice and handles the data that is
received.
– Where the OAuth connection is managed.
– Written in JavaScript
Watch App design basics
• Written in C
• Recommended App Structure- a standard C main() function and two functions to
help us organize the creation and destruction of all the Pebble SDK elements.
• Windows are composed of layers that represent components of the UI
– Layers are objects that can be displayed as visual objects, like text or images.
– Layers store information about its state necessary to draw or redraw
Components of a Pebble Application
AppMessage and AppSync
• AppMessage
– Bi-directional messaging from phone to watch
– Uses a push messaging system and a handler
– Limited in size of messages
– Available for use in PebbleKit-JS and native SDKs
• AppSync
– Built on top of the AppMessage
– Maintains a synced dictionary between phone and
WatchApp
– Callback routine available to notify app when
dictionary is changed
PebbleKit-JS and Native SDK
Getting data to and from the watch
• PebbleKit-JS – Javascript capability built into Pebble native
app that allows your application to communicate with the
internet
• Native SDK – Library to use in your mobile applications to
extend Pebble functionality
Watch App design basics
• Written in JavaScript
• Allows you to connect to a webservice
• Allows user to open a configuration screen on the phone
• Where oAuth and custom variables are stored that don’t fit into the watch UI
Integrating Pebble with Salesforce
Design Patterns
• 4 Components in the Smartwatch App design
– Pebble Watch App (Watch)
• This is the app on the watch. It handles the User Experience - Displays output and gathers input
• Written in C
– Smartphone running the Pebble App (Smartphone)
• This is the App on the phone that makes calls to Salesforce and handles the data that is received from
Salesforce. This is also where the OAuth connection to Salesforce is managed.
• Written in JavaScript
– Salesforce1 Platform
• Handles the connection from the connected devices to the data in Salesforce,
• In our example the interface is written in JavaScript, the REST APIs are used
– Salesforce App
• The Standard web or mobile UI used to update records.
Design Patterns
• https://github.com/developerforce/WearablePack-
Pebble/blob/master/samples/SF1PebbleDashboard/README.md
PebbleForce - Increase Productivity
• The Application – PebbleForce
• Demo Time
Getting Started/Resources
• Pebble
– (Guides, references, forums, etc.)
– cloudpebble.net – An online IDE for pebble development
• write, compile and install straight to your Pebble.
– #pebble in IRC
– Prerequisites – Familiarity with OAuth, C and JavaScript
• C concepts – Buffers, Pointers, Memory Management, etc
– You’re a long way from the Cloud.
References
– http://www.juniperresearch.com/viewpressrelease.php?pr=414
– http://readwrite.com/2014/02/10/10-cool-things-a-pebble-smartwatch-can-do
– https://github.com/Hexxeh/libpebble
– https://github.com/barometz/flintlock
– https://developer.getpebble.com/2/guides/
– @KatharineBerry
– SF Developer Pack
– https://developer.getpebble.com/
DF14: Drive Salesforce User Productivity with the Pebble SmartWatch

More Related Content

What's hot

Androidppt 120228101141-phpapp02
Androidppt 120228101141-phpapp02Androidppt 120228101141-phpapp02
Androidppt 120228101141-phpapp02Stockmarket Broking
 
Presentation 5 Mar Tech Taranaki reduced
Presentation 5 Mar Tech Taranaki reducedPresentation 5 Mar Tech Taranaki reduced
Presentation 5 Mar Tech Taranaki reducedShane Wilson
 
Mobile (App) Development with Sitecore
Mobile (App) Development with SitecoreMobile (App) Development with Sitecore
Mobile (App) Development with SitecorePieter Brinkman
 
Hybrid mobile app development
Hybrid mobile app developmentHybrid mobile app development
Hybrid mobile app developmentChamil Madusanka
 
Why Streethawk re-wrote ibeacon handling on Android
Why Streethawk re-wrote ibeacon handling on AndroidWhy Streethawk re-wrote ibeacon handling on Android
Why Streethawk re-wrote ibeacon handling on AndroidDavid Jones
 
Appcelerator Titanium at Mobile 2.0
Appcelerator Titanium at Mobile 2.0Appcelerator Titanium at Mobile 2.0
Appcelerator Titanium at Mobile 2.0Jeff Haynie
 
Native vs Hybrid vs Web
Native vs Hybrid vs WebNative vs Hybrid vs Web
Native vs Hybrid vs WebRuckit
 
Mobile applications chapter 2
Mobile applications chapter 2Mobile applications chapter 2
Mobile applications chapter 2Akib B. Momin
 
Mobile App Development
Mobile App DevelopmentMobile App Development
Mobile App DevelopmentChris Morrell
 
Appcelerator Overview
Appcelerator OverviewAppcelerator Overview
Appcelerator OverviewJeff Haynie
 
Magnet rest2mobile: Turn REST APIs into mobile SDKs (iOS, Android & JS)
Magnet rest2mobile: Turn REST APIs into mobile SDKs (iOS, Android & JS) Magnet rest2mobile: Turn REST APIs into mobile SDKs (iOS, Android & JS)
Magnet rest2mobile: Turn REST APIs into mobile SDKs (iOS, Android & JS) Pascal Jaillon
 
Introduction to mobile application development
Introduction to mobile application developmentIntroduction to mobile application development
Introduction to mobile application developmentChandan Maurya
 
Case study: integrating azure with google app engine
Case study: integrating azure with google app engine Case study: integrating azure with google app engine
Case study: integrating azure with google app engine Miguel Scotter
 
First Steps in iOS Development
First Steps in iOS DevelopmentFirst Steps in iOS Development
First Steps in iOS DevelopmentSasha Goldshtein
 
Cross platform mobile application devlopment
Cross platform mobile application devlopmentCross platform mobile application devlopment
Cross platform mobile application devlopmentPrabhat gangwar
 
DFW Wordpress February Meetup - Appcelerator Titanium
DFW Wordpress February Meetup  - Appcelerator TitaniumDFW Wordpress February Meetup  - Appcelerator Titanium
DFW Wordpress February Meetup - Appcelerator TitaniumJeff Haynie
 
Hybrid app in ionic framework overview
Hybrid app in ionic framework overviewHybrid app in ionic framework overview
Hybrid app in ionic framework overviewSanket Devlekar
 
What's great in Appcelerator Titanium 0.8
What's great in Appcelerator Titanium 0.8What's great in Appcelerator Titanium 0.8
What's great in Appcelerator Titanium 0.8Jeff Haynie
 
Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to AndroidNitinMehra2205
 

What's hot (20)

Androidppt 120228101141-phpapp02
Androidppt 120228101141-phpapp02Androidppt 120228101141-phpapp02
Androidppt 120228101141-phpapp02
 
Presentation 5 Mar Tech Taranaki reduced
Presentation 5 Mar Tech Taranaki reducedPresentation 5 Mar Tech Taranaki reduced
Presentation 5 Mar Tech Taranaki reduced
 
Mobile (App) Development with Sitecore
Mobile (App) Development with SitecoreMobile (App) Development with Sitecore
Mobile (App) Development with Sitecore
 
Hybrid mobile app development
Hybrid mobile app developmentHybrid mobile app development
Hybrid mobile app development
 
Why Streethawk re-wrote ibeacon handling on Android
Why Streethawk re-wrote ibeacon handling on AndroidWhy Streethawk re-wrote ibeacon handling on Android
Why Streethawk re-wrote ibeacon handling on Android
 
Appcelerator Titanium at Mobile 2.0
Appcelerator Titanium at Mobile 2.0Appcelerator Titanium at Mobile 2.0
Appcelerator Titanium at Mobile 2.0
 
Native vs Hybrid vs Web
Native vs Hybrid vs WebNative vs Hybrid vs Web
Native vs Hybrid vs Web
 
Mobile applications chapter 2
Mobile applications chapter 2Mobile applications chapter 2
Mobile applications chapter 2
 
Mobile App Development
Mobile App DevelopmentMobile App Development
Mobile App Development
 
Appcelerator Overview
Appcelerator OverviewAppcelerator Overview
Appcelerator Overview
 
Magnet rest2mobile: Turn REST APIs into mobile SDKs (iOS, Android & JS)
Magnet rest2mobile: Turn REST APIs into mobile SDKs (iOS, Android & JS) Magnet rest2mobile: Turn REST APIs into mobile SDKs (iOS, Android & JS)
Magnet rest2mobile: Turn REST APIs into mobile SDKs (iOS, Android & JS)
 
Intro to MonoTouch
Intro to MonoTouchIntro to MonoTouch
Intro to MonoTouch
 
Introduction to mobile application development
Introduction to mobile application developmentIntroduction to mobile application development
Introduction to mobile application development
 
Case study: integrating azure with google app engine
Case study: integrating azure with google app engine Case study: integrating azure with google app engine
Case study: integrating azure with google app engine
 
First Steps in iOS Development
First Steps in iOS DevelopmentFirst Steps in iOS Development
First Steps in iOS Development
 
Cross platform mobile application devlopment
Cross platform mobile application devlopmentCross platform mobile application devlopment
Cross platform mobile application devlopment
 
DFW Wordpress February Meetup - Appcelerator Titanium
DFW Wordpress February Meetup  - Appcelerator TitaniumDFW Wordpress February Meetup  - Appcelerator Titanium
DFW Wordpress February Meetup - Appcelerator Titanium
 
Hybrid app in ionic framework overview
Hybrid app in ionic framework overviewHybrid app in ionic framework overview
Hybrid app in ionic framework overview
 
What's great in Appcelerator Titanium 0.8
What's great in Appcelerator Titanium 0.8What's great in Appcelerator Titanium 0.8
What's great in Appcelerator Titanium 0.8
 
Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to Android
 

Viewers also liked

#PDR15 - Awesome Appstore Assets
#PDR15 - Awesome Appstore Assets#PDR15 - Awesome Appstore Assets
#PDR15 - Awesome Appstore AssetsPebble Technology
 
#PDR15 Creating Pebble Apps for Aplite, Basalt, and Chalk
#PDR15 Creating Pebble Apps for Aplite, Basalt, and Chalk#PDR15 Creating Pebble Apps for Aplite, Basalt, and Chalk
#PDR15 Creating Pebble Apps for Aplite, Basalt, and ChalkPebble Technology
 
#PDR15 - Data Analytics and Pebble
#PDR15 - Data Analytics and Pebble#PDR15 - Data Analytics and Pebble
#PDR15 - Data Analytics and PebblePebble Technology
 
Battery Life | Pebble Developer Retreat 2014
Battery Life | Pebble Developer Retreat 2014Battery Life | Pebble Developer Retreat 2014
Battery Life | Pebble Developer Retreat 2014Pebble Technology
 
Aankomst economische missie China
Aankomst economische missie ChinaAankomst economische missie China
Aankomst economische missie ChinaFlip Schultz
 
How to create an effective presentation
How to create an effective presentation How to create an effective presentation
How to create an effective presentation shelbycohan
 
Portafolio diagnóstico, Martha Alejandra Del Puerto
Portafolio diagnóstico, Martha Alejandra Del PuertoPortafolio diagnóstico, Martha Alejandra Del Puerto
Portafolio diagnóstico, Martha Alejandra Del PuertoMart Alejan Del P Alemán
 
Presentation 1 cohan
Presentation 1 cohanPresentation 1 cohan
Presentation 1 cohanshelbycohan
 
Higher Education Institutions as boosters of a national policy on open and o...
Higher Education Institutions as boosters of a national policy on open and o...Higher Education Institutions as boosters of a national policy on open and o...
Higher Education Institutions as boosters of a national policy on open and o...Janina van Hees
 
Orange County Lippo Cikarang
Orange County Lippo CikarangOrange County Lippo Cikarang
Orange County Lippo CikarangLippo Cikarang
 
Df14 Maintaining your orgs setup for optimal efficiency for dist
Df14 Maintaining your orgs setup for optimal efficiency for distDf14 Maintaining your orgs setup for optimal efficiency for dist
Df14 Maintaining your orgs setup for optimal efficiency for distjayvinarora
 
Attini Comms: Corporate Communications Goes Mobile
Attini Comms: Corporate Communications Goes MobileAttini Comms: Corporate Communications Goes Mobile
Attini Comms: Corporate Communications Goes MobileAttini Comms
 
Hans Boot tekent economische missie China
Hans Boot tekent economische missie ChinaHans Boot tekent economische missie China
Hans Boot tekent economische missie ChinaFlip Schultz
 

Viewers also liked (19)

pebble - Building apps on pebble
pebble - Building apps on pebblepebble - Building apps on pebble
pebble - Building apps on pebble
 
Hacking Pebble on iOS
Hacking Pebble on iOSHacking Pebble on iOS
Hacking Pebble on iOS
 
#PDR15 - Awesome Appstore Assets
#PDR15 - Awesome Appstore Assets#PDR15 - Awesome Appstore Assets
#PDR15 - Awesome Appstore Assets
 
#PDR15 Creating Pebble Apps for Aplite, Basalt, and Chalk
#PDR15 Creating Pebble Apps for Aplite, Basalt, and Chalk#PDR15 Creating Pebble Apps for Aplite, Basalt, and Chalk
#PDR15 Creating Pebble Apps for Aplite, Basalt, and Chalk
 
#PDR15 - Data Analytics and Pebble
#PDR15 - Data Analytics and Pebble#PDR15 - Data Analytics and Pebble
#PDR15 - Data Analytics and Pebble
 
Battery Life | Pebble Developer Retreat 2014
Battery Life | Pebble Developer Retreat 2014Battery Life | Pebble Developer Retreat 2014
Battery Life | Pebble Developer Retreat 2014
 
#PDR15 - PebbleKit iOS 3.0
#PDR15 - PebbleKit iOS 3.0#PDR15 - PebbleKit iOS 3.0
#PDR15 - PebbleKit iOS 3.0
 
Test Pres
Test PresTest Pres
Test Pres
 
Aankomst economische missie China
Aankomst economische missie ChinaAankomst economische missie China
Aankomst economische missie China
 
How to create an effective presentation
How to create an effective presentation How to create an effective presentation
How to create an effective presentation
 
Latihan soal pkn
Latihan soal pknLatihan soal pkn
Latihan soal pkn
 
Portafolio diagnóstico, Martha Alejandra Del Puerto
Portafolio diagnóstico, Martha Alejandra Del PuertoPortafolio diagnóstico, Martha Alejandra Del Puerto
Portafolio diagnóstico, Martha Alejandra Del Puerto
 
What IT Needs to Consider for Legal Hold
What IT Needs to Consider for Legal HoldWhat IT Needs to Consider for Legal Hold
What IT Needs to Consider for Legal Hold
 
Presentation 1 cohan
Presentation 1 cohanPresentation 1 cohan
Presentation 1 cohan
 
Higher Education Institutions as boosters of a national policy on open and o...
Higher Education Institutions as boosters of a national policy on open and o...Higher Education Institutions as boosters of a national policy on open and o...
Higher Education Institutions as boosters of a national policy on open and o...
 
Orange County Lippo Cikarang
Orange County Lippo CikarangOrange County Lippo Cikarang
Orange County Lippo Cikarang
 
Df14 Maintaining your orgs setup for optimal efficiency for dist
Df14 Maintaining your orgs setup for optimal efficiency for distDf14 Maintaining your orgs setup for optimal efficiency for dist
Df14 Maintaining your orgs setup for optimal efficiency for dist
 
Attini Comms: Corporate Communications Goes Mobile
Attini Comms: Corporate Communications Goes MobileAttini Comms: Corporate Communications Goes Mobile
Attini Comms: Corporate Communications Goes Mobile
 
Hans Boot tekent economische missie China
Hans Boot tekent economische missie ChinaHans Boot tekent economische missie China
Hans Boot tekent economische missie China
 

Similar to DF14: Drive Salesforce User Productivity with the Pebble SmartWatch

In-Flight Infotainment and e-Shopping App | iPad App for shopping
In-Flight Infotainment and e-Shopping App | iPad App for shoppingIn-Flight Infotainment and e-Shopping App | iPad App for shopping
In-Flight Infotainment and e-Shopping App | iPad App for shoppingMike Taylor
 
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...Luc Bors
 
18ITT61 - Introduction.pptx
18ITT61 - Introduction.pptx18ITT61 - Introduction.pptx
18ITT61 - Introduction.pptxMugiiiReee
 
Building Mobile (app) Masterpiece with Distributed Agile
Building Mobile (app) Masterpiece with Distributed AgileBuilding Mobile (app) Masterpiece with Distributed Agile
Building Mobile (app) Masterpiece with Distributed AgileWee Witthawaskul
 
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...darwinodb
 
The Business Benefits of Apple Powered Swift App Development
The Business Benefits of Apple Powered Swift App DevelopmentThe Business Benefits of Apple Powered Swift App Development
The Business Benefits of Apple Powered Swift App DevelopmentChromeInfo Technologies
 
Development Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElementsDevelopment Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElementsRomin Irani
 

Similar to DF14: Drive Salesforce User Productivity with the Pebble SmartWatch (20)

Lakkakula Sunil Kumar
Lakkakula Sunil KumarLakkakula Sunil Kumar
Lakkakula Sunil Kumar
 
In-Flight Infotainment and e-Shopping App | iPad App for shopping
In-Flight Infotainment and e-Shopping App | iPad App for shoppingIn-Flight Infotainment and e-Shopping App | iPad App for shopping
In-Flight Infotainment and e-Shopping App | iPad App for shopping
 
Ios
IosIos
Ios
 
Kumar kunal
Kumar kunalKumar kunal
Kumar kunal
 
Oracle and Mobile, From Design to Device; The tools that make it happen - Use...
Oracle and Mobile, From Design to Device; The tools that make it happen - Use...Oracle and Mobile, From Design to Device; The tools that make it happen - Use...
Oracle and Mobile, From Design to Device; The tools that make it happen - Use...
 
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
 
Sam segal resume
Sam segal resumeSam segal resume
Sam segal resume
 
18ITT61 - Introduction.pptx
18ITT61 - Introduction.pptx18ITT61 - Introduction.pptx
18ITT61 - Introduction.pptx
 
Building Mobile (app) Masterpiece with Distributed Agile
Building Mobile (app) Masterpiece with Distributed AgileBuilding Mobile (app) Masterpiece with Distributed Agile
Building Mobile (app) Masterpiece with Distributed Agile
 
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
 
Revue des annonces WWDC2015
Revue des annonces WWDC2015Revue des annonces WWDC2015
Revue des annonces WWDC2015
 
Google android os
Google android osGoogle android os
Google android os
 
Shiva_CV
Shiva_CVShiva_CV
Shiva_CV
 
Wearables meetup
Wearables meetupWearables meetup
Wearables meetup
 
The Business Benefits of Apple Powered Swift App Development
The Business Benefits of Apple Powered Swift App DevelopmentThe Business Benefits of Apple Powered Swift App Development
The Business Benefits of Apple Powered Swift App Development
 
Google android os
Google android osGoogle android os
Google android os
 
Development Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElementsDevelopment Workshop on ET1, Android and Motorola RhoElements
Development Workshop on ET1, Android and Motorola RhoElements
 
SamSegalResume
SamSegalResumeSamSegalResume
SamSegalResume
 
SMP_MC_prathima_Chenna
SMP_MC_prathima_ChennaSMP_MC_prathima_Chenna
SMP_MC_prathima_Chenna
 
AMIS OOW Review 2012 - Deel 7 - Lucas Jellema
AMIS OOW Review 2012 - Deel 7 - Lucas JellemaAMIS OOW Review 2012 - Deel 7 - Lucas Jellema
AMIS OOW Review 2012 - Deel 7 - Lucas Jellema
 

Recently uploaded

Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfsmsksolar
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...Health
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 

Recently uploaded (20)

Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 

DF14: Drive Salesforce User Productivity with the Pebble SmartWatch

  • 1. Drive Salesforce User Productivity with the Pebble SmartWatch Richard Tuttle Oklahoma City Developer User Group Leader @_drako Jayvin Arora Philadelphia Salesforce User Group Leader @JayvinArora
  • 2. Richard Tuttle Oklahoma City Developer User Group Leader Sr. Technical Architect Seagate Technology
  • 3. Jayvin Arora Philadelphia Salesforce User Group Leader Applications Development Manager
  • 4. Agenda • Introduction to Smart Watches and Pebble • Pebble Design Patterns • Integrating Pebble with Salesforce
  • 5. Introduction to Smart Watches, and Pebble
  • 6. Technological Trends • From Gartner’s Top 10 Strategic Technology Trends for 2014  The Internet of Things  The Personal Cloud  Hybrid IT and Cloud Computing Companies have access to wearable techhology to connect their users to their company and personal clouds securely.
  • 7. Smart Watches • Pros – Extends mobile apps beyond the pocket – Key use cases is “glance-able" information and light weight interactions. • i.e. push notifications – Lets people stay informed with discreet alerts/notifications, without having to look at phone. – Can incorporate extensive functionality in the physical space where people just wear a watch/used to wear a watch – User Adoption is expected to grow to 130 Million users by 2018
  • 8. Smart Watches • Cons – Limited System Resources: • Limited battery life- limits the frequency of display updates. – Difficult to have a meaningful UX • Small screen space • Limited UI functionality depending on the watch – People see the devices as a gimmick. – Narrow use cases, especially in a mobile society
  • 9. Pebble Smartwatch • Product Overview – Released Q3 of 2013 via a kick starter (Compared with Apple Smartwatch 2015) – Black and white e-paper display, ambient light sensors, vibrating motor, magnetometer and an accelerometer. – Compatible with Android and iOS devices – 1 bit Graphical Display ( Black, White, and Dithered graphics) – 3 Button Input
  • 10. Pebble Smartwatch – Technical Considerations Platforms ? • iOS – SDK, and native Pebble app with PebbleKit- JS • Android – SDK, and native Pebble app with PebbleKit-JS • Windows Phone 8 – Nothing native at this point, some custom apps derived from an open source project called Flintlock and libpebble • Blackberry – Haha, just kidding
  • 11. Pebble Smartwatch • Technical Considerations – Tethered to your smart phone – Communicates with phones via Bluetooth Low Energy ( BLE) – Supports two-way communication between pebbles and smartphones running iOS or Android via the AppMessage framework. – Open Pebble SDK – Battery life 5- 7 days – Pebble provides code and background to get you started quickly.
  • 13. Components of a Pebble Application The window stack • Used to allow multiple layers of windows throughout the entire Pebble UI • WatchApps can have multiple windows used for different purposes • Control the flow of the application by pushing different windows into/from the stack • Can be used to separate functional areas of your code
  • 14. Pebble Applications 2 types of Applications in Pebble • WatchApp – Has to be accessed from the menu – Doesn’t retain the main window space permanently – Can be triggered to open from events sent by the phone – Access to all 3 right side buttons, accelerometer, and magnetometer • Watchface – WatchApp that is designed to show the time constantly – Limited input options, no buttons, only magnetometer and accelerometer
  • 15. Components of a Watch App • Pebble Watch App (Watch) – This is the app on the watch. It handles the User Experience - Displays output and gathers input – Written in C • Smartphone running the Pebble App (Smartphone) – This is the App on the phone that makes calls to the Webservice and handles the data that is received. – Where the OAuth connection is managed. – Written in JavaScript
  • 16. Watch App design basics • Written in C • Recommended App Structure- a standard C main() function and two functions to help us organize the creation and destruction of all the Pebble SDK elements. • Windows are composed of layers that represent components of the UI – Layers are objects that can be displayed as visual objects, like text or images. – Layers store information about its state necessary to draw or redraw
  • 17. Components of a Pebble Application AppMessage and AppSync • AppMessage – Bi-directional messaging from phone to watch – Uses a push messaging system and a handler – Limited in size of messages – Available for use in PebbleKit-JS and native SDKs • AppSync – Built on top of the AppMessage – Maintains a synced dictionary between phone and WatchApp – Callback routine available to notify app when dictionary is changed
  • 18. PebbleKit-JS and Native SDK Getting data to and from the watch • PebbleKit-JS – Javascript capability built into Pebble native app that allows your application to communicate with the internet • Native SDK – Library to use in your mobile applications to extend Pebble functionality
  • 19. Watch App design basics • Written in JavaScript • Allows you to connect to a webservice • Allows user to open a configuration screen on the phone • Where oAuth and custom variables are stored that don’t fit into the watch UI
  • 21. Design Patterns • 4 Components in the Smartwatch App design – Pebble Watch App (Watch) • This is the app on the watch. It handles the User Experience - Displays output and gathers input • Written in C – Smartphone running the Pebble App (Smartphone) • This is the App on the phone that makes calls to Salesforce and handles the data that is received from Salesforce. This is also where the OAuth connection to Salesforce is managed. • Written in JavaScript – Salesforce1 Platform • Handles the connection from the connected devices to the data in Salesforce, • In our example the interface is written in JavaScript, the REST APIs are used – Salesforce App • The Standard web or mobile UI used to update records.
  • 23. PebbleForce - Increase Productivity • The Application – PebbleForce • Demo Time
  • 24. Getting Started/Resources • Pebble – (Guides, references, forums, etc.) – cloudpebble.net – An online IDE for pebble development • write, compile and install straight to your Pebble. – #pebble in IRC – Prerequisites – Familiarity with OAuth, C and JavaScript • C concepts – Buffers, Pointers, Memory Management, etc – You’re a long way from the Cloud.
  • 25. References – http://www.juniperresearch.com/viewpressrelease.php?pr=414 – http://readwrite.com/2014/02/10/10-cool-things-a-pebble-smartwatch-can-do – https://github.com/Hexxeh/libpebble – https://github.com/barometz/flintlock – https://developer.getpebble.com/2/guides/ – @KatharineBerry – SF Developer Pack – https://developer.getpebble.com/

Editor's Notes

  1. Crowd involvement: - Who has a smart watch? Who thinks it just a hype? The used to wear a watch… with smart phones, people have stopped wearing watches as much, because all a watch did was give you the time and date, from a functional point of view. Smart watches can add additional functionality to the same real estate space…. For example, who wears fitness trackers? The real challenge for smartwatches is finding the use cases where they make sense
  2. Crowd involvement: - Who has a smart watch? Who thinks it just a hype? The used to wear a watch… with smart phones, people have stopped wearing watches as much, because all a watch did was give you the time and date, from a functional point of view. Smart watches can add additional functionality to the same real estate space…. For example, who wears fitness trackers? The real challenge for smartwatches is finding the use cases where they make sense
  3. WatchFace – No input mechanisms other than magnetometer and accelerometer
  4. WatchFace – No input mechanisms other than magnetometer and accelerometer
  5. Recommended app structure, specifically a standard C main() function and two other functions to help us organize the creation and destruction of all the Pebble SDK elements. Responsible for Memory Management
  6. WatchFace – No input mechanisms other than magnetometer and accelerometer
  7. Recommended app structure, specifically a standard C main() function and two other functions to help us organize the creation and destruction of all the Pebble SDK elements. Responsible for Memory Management
  8. All this good stuff is from the developerpack and is in much greater detail there…
  9. All this good stuff is from the developerpack and is in much greater detail there… Flow 1) The code is initiated by the Pebble watch when the application is selected. The Pebble Watch App communicates over Bluetooth Low Energy (BLE) to your smartphone where the Pebble App on the smartphone receives the requests and checks for a valid connection to Salesforce. If there is no valid connection, the welcome screen continues to display. When you click a menu row on the watch, a message pops up instructing you to log into Salesforce through your smartphone by clicking on "SETTINGS" for the Salesforce1 Pebble Dashboard app. 2) Selecting "SETTINGS" will open the Salesforce login web page, which initiates the OAuth login procedure. This does not require any code in the JavaScript until the OAuth process completes. Upon completion of the OAuth sign-in, the Callback URL directs the Salesforce OAuth page to send the response to the Pebble App on the smartphone. This contains the OAuth token and other basic connect information that will be used for all future REST API calls. 3) Now with the token and connection details stored, the app is able search for the right reports, then use the Salesforce1 Analytics API to pull back data. In practice, you could make better use of Salesforce data by adding advanced formatting, such as placing multiple elements on a single line or using graphics to display information. For flexibility and installation simplicity this sample was written without any advanced customizations. 4) Once the data has been received and truncated to fit on the Pebble watch screen, it can be sent to the watch. It is important to be aware that when you want to send lots of data to the watch, you need to manage a handshake so you don’t lose records. This is done by setting the variable "load_report" to step through each row and let the Pebble watch pull the next record when it is ready for more data. The Salesforce1 Pebble Dashboard is now displaying the data. Whenever you navigate away from the app, the data will ‘unload.’ It will refresh all the data whenever you return to the dashboards without the need to login again. If you want to force a specific report entry to reload, you can select and click on it by using the middle button on the watch. Timers can be used for regular interval refreshes.