60
The Wear, Why, and How of Wearables on Salesforce Craig Isakson Systems Architect SundogInteractive.com [email protected] Wearables on Salesforce explained

The Wear, Why, and How of Wearables on Salesforce

Embed Size (px)

Citation preview

The Wear, Why, and How of Wearables on Salesforce

 Craig Isakson  Systems Architect  SundogInteractive.com  [email protected]

Wearables on Salesforce explained

Where’s the code?

Slides http://bit.ly/1hfvxKY

GitHub http://bit.ly/1Jwnz6U

 Background

 What are they?

 Benefits

 Use Cases

 Wear Packs!!

 Development and Demo

 Questions

Presentation Overview

My Background  Original SmartWatch

My Background  Original Sony SmartWatch

 https://developer.salesforce.com/entries/71/show

What are they? What are wearables?

 Definition -- Wearables is a term to generally refer to digital technologies worn on the body to communicate and access information in real time.

 Essentially:

•  Wearable computers

•  Packed with sensors

•  Provide a better user experience in the user’s context

•  Readily accessible

What are they? Wearables

Type of Wearables

 5x growth over the smartphone revolution

 Nearly 3x growth in wearables is expected across the enterprise in the next two years

 Wearable devices will become ubiquitous with 50% data traffic in two years and on 180M devices by 2018

 Smart watches are leading the enterprise wearable tech race

 Wearables-generated data will be an enterprise game-changer

Facts and Figures Wearables

Benefits What are the benefits of wearables?

 Context

 Sensor integrations

 Better UX

 Simplify users life or repetitive task

Benefits Wearables

Use cases Current and future use cases?

 Navigation

 Personal Fitness

 Healthcare

 Retail Payment

 Enterprise

 Customer Service

Use Cases Wearables

Development

iOS High-level Architecture

High-level Architecture  Android

 Standard notification

 Customized notification

 Local code running its own app

Watch functions Development

Salesforce has Wear Packs!

 https://developer.salesforce.com/wear

Salesforce helps you dev! Wearables

https://www.npmjs.com/package/forceios

https://www.npmjs.com/package/forcedroid

Salesforce helps you dev! forceios & forcedroid

Demos!

 Tom, the sales rep, just met with a lead and has determined that the lead needs follow up. In his Salesforce1 mobile app he checks a box called Marketing Follow-up.

 Mary receives a notification from a trigger on a Smart Watch to move the lead into a nurture campaign.

 Based on a scoring model from Pardot and Marketing Cloud, the watch presents a number of options for which campaign to put the lead in.

 Mary selects the campaign which makes the required updates in Salesforce.

Campaign Placement Demo

Salesforce Side

Demo App  Salesforce -- Connected App

Demo App  Salesforce -- DF15_LeadMasterTrigger

http://bit.ly/1MOgxzF

Demo App  Salesforce -- DF15_LeadMasterTriggerHelper -- execute

http://bit.ly/1U6Qcmu

Demo App  Salesforce -- DF15_LeadMasterTriggerHelper -- handleMarketingFollowup

http://bit.ly/1U6Qcmu

Demo App  Salesforce -- DF15_LeadMasterTriggerHelper -- sendNotifications

http://bit.ly/1U6Qcmu

iOS

Communication Architecture  iOS

Demo App  iOS

Demo App  Salesforce

Campaign member created

Demo App  iOS -- Overview

iOS App

WatchKit App

WatchKit Extension

Demo App  iOS  WK Extension  PushNotificationPayload

http://bit.ly/1fGHyrN

Demo App  iOS -- WK Extension -- NotificationController

http://bit.ly/1JjL7Nd

Demo App  iOS -- WK Extension -- InterfaceController

http://bit.ly/1MOh7NO

Demo App  iOS -- WK Extension -- InterfaceController

http://bit.ly/1MOh7NO

Demo App  iOS -- WK Extension -- CampaignDetailInterfaceController

http://bit.ly/1LBw7jB

Demo App  iOS -- iOS App -- AppDelegate

http://bit.ly/1JwolAN

Demo App  iOS -- iOS App -- RootVC

http://bit.ly/1EkMtL2

Demo App  iOS -- iOS App -- LeadHandler

http://bit.ly/1WSWVzd

Demo App  iOS -- iOS App -- LeadHandler

http://bit.ly/1WSWVzd

Communication Architecture  iOS

Android

Communication Architecture  Android

Demo App  Android

Demo App Android -- WatchApp -- Layouts

http://bit.ly/1Lx8aXP

Demo App Android -- WatchApp -- MainActivity -- onCreate

http://bit.ly/1NBD70a

Demo App Android -- WatchApp -- MainActivity -- onUpdateCampaign

http://bit.ly/1NBD70a

Demo App  Android -- PhoneApp -- DataLayerListenerService -- onDataChanged

http://bit.ly/1PyY3Cz

Demo App  Android  Android -- PhoneApp -- DataLayerListenerService -- buildAPIClient

http://bit.ly/1PyY3Cz

Demo App  Android  Android -- PhoneApp -- DataLayerListenerService -- sendRequest

http://bit.ly/1PyY3Cz

Demo App Android -- PhoneApp -- DLLS -- letWatchKnowWhatHappened

http://bit.ly/1PyY3Cz

Demo App  Android -- PhoneApp -- Manifest.xml

http://bit.ly/1Lx84zn

Demo App Android -- WatchApp -- MainActivity -- onDataChanged

http://bit.ly/1NBD70a

Demo App Android -- WatchApp -- MainActivity -- updateText

http://bit.ly/1MOgxzF

Communication Architecture  Android

 Wearables are here to stay

 They will have incredible growth

 Great opportunities

 Build your apps to the user’s context

 Fill a need

Wrap-up Wearables

Questions Lay them on me!

Thank you

[email protected]