Building Mobile Apps
on the Salesforce.com Platform
Ryan Upton
Android Evangelist
@ryanjupton
Safe harbor
Safe harbor statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any
such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could
differ materially from the results expressed or implied by the forward-looking statements we make. All statements
other than statements of historical fact could be deemed forward-looking, including any projections of product or
service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding
strategies or plans of management for future operations, statements of belief, any statements concerning new,
planned, or upgraded services or technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and
delivering new functionality for our service, new products and services, our new business model, our past operating
losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting,
breach of our security measures, the outcome of intellectual property and other litigation, risks associated with
possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history,
our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and
successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and
selling to larger enterprise customers. Further information on potential factors that could affect the financial results of
salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31,
2012. This documents and others containing important disclosures are available on the SEC Filings section of the
Investor Information section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements
are not currently available and may not be delivered on time or at all. Customers who purchase our services should
make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no
obligation and does not intend to update these forward-looking statements.
Device Growth Is Exploding, Driven By
Consumers

Source: Gartner Research; Smartphone, Tablet, and PC Forecast, December 2010.
Info Workers Use Many Devices For Work & Personal

52% of information workers use 3 or more devices
60% of these devices are used for both work and personal use
Source: Forrester Blogs: Why Tablets Will Become Our Primary Computing Device, Frank Gillett, April 23, 2012
Touch Revolution

Mobile app users are

4x
more engaged*

* comScore Mobile Metrix (March 2012)
Where Are All the Enterprise Mobile Apps?

?
?

?
Building Mobile Apps With Legacy Platforms Is Difficult

Months to Years

Buy &
Setup
Hardware

Idea

Install
Complex
Software

Define
User
Access

Setup
Reporting
& Analytics

Build &
Test
Security

Make It
Mobile &
Social

Build
App with
Legacy
Frameworks

Mobile
App
Salesforce1 Platform to the Rescue
Salesforce1 App

Custom Mobile Apps

Configurable by Admins out of the
box

Built by Developers with our Mobile
Services

For employee facing apps

For customer-facing
experiences

All built on the Salesforce1
Platform
Point and click APIs to access customer data
Configurable Business Logic


Formulas



Data Validation Rules



Real-Time Workflow



Approvals

Send Back
No

Request
Approval

Approve
Approve

No Action
For 2 Days
Escalate

Yes
Send to
Accounting
Programmatic Business Logic
• Object Oriented
• Tight binding with your
Salesforce data model
• Simple data manipulation
calls
• Annotations & keywords –
 webservice,
 @isTest,
 @RestResource, etc.
OAuth
An open protocol to allow secure authorization in a simple
and standard method from web, mobile and desktop
applications.
 Oauth simplifies working with protected data.

 Think valet key.

Sends App Credentials

Remote
Application

Tokens sent to
callback
API call with access token
Data

Maintain session
with
refresh token

User
logs
in

Salesforce
Platform
Force.com REST API
The Force.com REST API lets you integrate with
Force.com applications using simple HTTP methods, in
either XML or JSON formats, making this an ideal API for
developing mobile applications or external clients.
1. Data
1. Authenticate

2. Meta Data

login.salesforce.com

2. Access API
Mobile
Application

/services/data/query?
SELECT ID FROM ACCOUNT

3. Get JSON or
XML
{“sObject”: “Account”,
“id” : “oax02fdr756aFdad”}

Salesforce
Platform
Salesforce1 App Gives Customers 1 Unified
Experience
Chatter Mobile
Feeds
People & Groups
Files
Native phone
features

Salesforce Classic
CRM data
Analytics
Tasks & events
Native phone
features

Salesforce Touch
CRM access
Custom apps
HTML5

Salesforce1 App
Logger & Forcepad
Sales productivity
tools
Task management
Call logging
Core Salesforce Functionality Brought to Any
Device
Notifications Center
All Your CRM

Real-time business updates, all in 1 place

Sales, service & marketing re-imagined for
mobile

All Your
Customizations

Feed First

Connect with your team and your data, all in 1
app

Instantly make it your own with custom
fields, objects and more

Hybrid UI
All Your AppExchange

The perfect match of performance and flexibility

Tap into thousands of apps that power every
industry

Custom Business Actions

All Your Apps

Put the feed to work with custom actions
relevant for your business

Every custom app you’ve built, now ready to
go.

Multi-device Support
Be ready for a BYOD world with support for
iOS, Android and more
Demo
Salesforce Platform Mobile Services
Three Mobile Development Options
Mobile SDK 2.1
• Build Native, Hybrid or HTML5 apps for iOS and Android
• Faster and more modularized architecture

• New entity frameworks for easy data access and offline storage

OAuth2
Secure authentication and refresh
token management

API Wrappers
Interact with Salesforce REST
APIs with popular mobile platform
languages

App Container

Embed HTML5 apps inside a
container to access powerful native
device functionality

Secure Offline Database
Store business data on a device
with enterprise-class security

Push Notifications
Dispatch real-time alerts directly to
mobile devices

http://developer.force.com/mobileSDK
SmartStore for Offline
Mobile Packs
• Jumpstart web and hybrid mobile
development
• Focus on modern JavaScript frameworks
• Simplify Salesforce data access
• Deploy on the Force.com platform or
elsewhere (e.g. Heroku)
• JavaScript based
• Quick Starts and tutorials
Current Mobile Packs
• First of many mobile packs and samples

• Open-source and community driven
Demo
A mobile development
platform that
developers love
Questions?
@forcedotcom
@ryanjupton
Modev presentation

Modev presentation

  • 1.
    Building Mobile Apps onthe Salesforce.com Platform Ryan Upton Android Evangelist @ryanjupton
  • 2.
    Safe harbor Safe harborstatement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 3.
    Device Growth IsExploding, Driven By Consumers Source: Gartner Research; Smartphone, Tablet, and PC Forecast, December 2010.
  • 4.
    Info Workers UseMany Devices For Work & Personal 52% of information workers use 3 or more devices 60% of these devices are used for both work and personal use Source: Forrester Blogs: Why Tablets Will Become Our Primary Computing Device, Frank Gillett, April 23, 2012
  • 5.
    Touch Revolution Mobile appusers are 4x more engaged* * comScore Mobile Metrix (March 2012)
  • 6.
    Where Are Allthe Enterprise Mobile Apps? ? ? ?
  • 7.
    Building Mobile AppsWith Legacy Platforms Is Difficult Months to Years Buy & Setup Hardware Idea Install Complex Software Define User Access Setup Reporting & Analytics Build & Test Security Make It Mobile & Social Build App with Legacy Frameworks Mobile App
  • 8.
    Salesforce1 Platform tothe Rescue Salesforce1 App Custom Mobile Apps Configurable by Admins out of the box Built by Developers with our Mobile Services For employee facing apps For customer-facing experiences All built on the Salesforce1 Platform
  • 9.
    Point and clickAPIs to access customer data
  • 10.
    Configurable Business Logic  Formulas  DataValidation Rules  Real-Time Workflow  Approvals Send Back No Request Approval Approve Approve No Action For 2 Days Escalate Yes Send to Accounting
  • 11.
    Programmatic Business Logic •Object Oriented • Tight binding with your Salesforce data model • Simple data manipulation calls • Annotations & keywords –  webservice,  @isTest,  @RestResource, etc.
  • 12.
    OAuth An open protocolto allow secure authorization in a simple and standard method from web, mobile and desktop applications.  Oauth simplifies working with protected data.  Think valet key. Sends App Credentials Remote Application Tokens sent to callback API call with access token Data Maintain session with refresh token User logs in Salesforce Platform
  • 13.
    Force.com REST API TheForce.com REST API lets you integrate with Force.com applications using simple HTTP methods, in either XML or JSON formats, making this an ideal API for developing mobile applications or external clients. 1. Data 1. Authenticate 2. Meta Data login.salesforce.com 2. Access API Mobile Application /services/data/query? SELECT ID FROM ACCOUNT 3. Get JSON or XML {“sObject”: “Account”, “id” : “oax02fdr756aFdad”} Salesforce Platform
  • 14.
    Salesforce1 App GivesCustomers 1 Unified Experience Chatter Mobile Feeds People & Groups Files Native phone features Salesforce Classic CRM data Analytics Tasks & events Native phone features Salesforce Touch CRM access Custom apps HTML5 Salesforce1 App Logger & Forcepad Sales productivity tools Task management Call logging
  • 15.
    Core Salesforce FunctionalityBrought to Any Device Notifications Center All Your CRM Real-time business updates, all in 1 place Sales, service & marketing re-imagined for mobile All Your Customizations Feed First Connect with your team and your data, all in 1 app Instantly make it your own with custom fields, objects and more Hybrid UI All Your AppExchange The perfect match of performance and flexibility Tap into thousands of apps that power every industry Custom Business Actions All Your Apps Put the feed to work with custom actions relevant for your business Every custom app you’ve built, now ready to go. Multi-device Support Be ready for a BYOD world with support for iOS, Android and more
  • 16.
  • 17.
  • 18.
  • 19.
    Mobile SDK 2.1 •Build Native, Hybrid or HTML5 apps for iOS and Android • Faster and more modularized architecture • New entity frameworks for easy data access and offline storage OAuth2 Secure authentication and refresh token management API Wrappers Interact with Salesforce REST APIs with popular mobile platform languages App Container Embed HTML5 apps inside a container to access powerful native device functionality Secure Offline Database Store business data on a device with enterprise-class security Push Notifications Dispatch real-time alerts directly to mobile devices http://developer.force.com/mobileSDK
  • 20.
  • 21.
    Mobile Packs • Jumpstartweb and hybrid mobile development • Focus on modern JavaScript frameworks • Simplify Salesforce data access • Deploy on the Force.com platform or elsewhere (e.g. Heroku) • JavaScript based • Quick Starts and tutorials
  • 22.
    Current Mobile Packs •First of many mobile packs and samples • Open-source and community driven
  • 23.
  • 24.
    A mobile development platformthat developers love
  • 25.

Editor's Notes

  • #4 Smart phones and tablets are taking over. By 2014, there will be over 1.8 BILLION mobile devices worldwide while the growth of desktops and laptops will remain relatively stagnant.-----------------------------------------------WHAT’S DRIVING THIS TREND:• Increased capacity of wireless networks (3G, 4G, etc.) • Smartphones are approximating the speed and computing power of a PC• Cost of smartphone is less than the cost of a laptop or desktop computer• Portability and instant access of tablets and mobile make it faster and easier than a laptop to access data while working away from your desk
  • #5 A recent survey revealed that more than half of all information workers today are using 3 or more devices at work.Clearly mobility in the work place has moved beyond just field sales and field service people.Now, all types of workers are embracing mobility for its instant access to data and applications whether they’re down the hall or across the globe.
  • #6 Why is mobile and social such a powerful combo?Engagement. Facebook, Twitter, Yelp – all have 4-5x more usage on their mobile apps than their web browsers.
  • #8 When you look at how traditional IT organizations look to built mobile apps, many are following the same doomed patterns of legacy on-premise software platforms.The problem with those platforms is the developers have to spend an incredible amount of time coding the very basics – the back end plumbing of an app – before they can even start focusing on the user experience.Not to mention – after they’ve spent the majority of the time on the plumbing – they then have to spend orders of magnitude more time coding the user interface compared to today’s modern mobile app developers who are using all the latest frameworks and libraries built from javascript. Today – any web developer who knows javascript can be a mobile app developer using these open source frameworks.
  • #20 Connect Salesforce Data with your Mobile Apps