SlideShare a Scribd company logo
Intro to the Salesforce Mobile SDK:
Building Android Apps
October 23rd, 2013
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 nonsalesforce.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.

#forcewebinar
Speakers
Wolfgang Mathurin
Mobile Architect

#forcewebinar

Ryan Upton
Mobile Evangelist
@ryanjupton
Follow Developer Force for the Latest News
@forcedotcom / #forcewebinar
Developer Force – Force.com Community
+Developer Force – Force.com Community
Developer Force
Developer Force Group
#forcewebinar
Agenda
§  Getting Started with Android Native Apps
§  Building your first Android App for Salesforce
§  Resources and Next Steps
§  Q & A

#forcewebinar
Salesforce Has The Answer For Every Mobile Need

Suite of downloadable apps for
accessing Salesforce data from
a mobile device

#forcewebinar

Custom mobile apps
designed and built by you or
an ISV partner

Mobile AppExchange for
discovering purpose-built apps
or vertical solutions by industry
Salesforce Platform Mobile Services

http://developer.force.com/mobile
#forcewebinar
Salesforce Mobile SDK 2.0
Accessible To Developers of All Levels
Power and Flexibility for Advanced Coders
Apps for Employees, Partners, and Customers
Native or Hybrid – Android and iOS
#forcewebinar

• 
• 
• 
• 
• 

OAuth2
Offline Datastore
SmartSync Framework
Hybrid Container
API Wrappers
Getting Started
§  Node.js + NPM:
–  http://nodejs.org and http://npmjs.org

§  Download the forcedroid application
–  npm install forcedroid

§  Define your connected app
–  Setup / Apps / Connected Apps

§  Create the sample application
–  forcedroid create
#forcewebinar
Connected Apps
§  Define your application public and private keys
§  Define OAuth permission scope
§  Define features like Canvas access and PIN locking

#forcewebinar
Connected Apps

Chapter 1:

#forcewebinar
Building out the App
§  Review generated code
§  Customize the list screen
§ 

Create the detail screen

§  Test your app

#forcewebinar
Customize the List Screen
§  Remove buttons to fetch accounts and contacts
§  Change SOQL and run query on load
§  Try out the app

#forcewebinar
Create the Detail Screen
§  Create the detail activity and layout
§  Add support for update
§  Link main activity and detail activity
§  Try out the app

#forcewebinar
Recap
§  Getting started with the Mobile SDK and native Android
–  Connected Apps
–  npm install forcedroid
–  forcedroid create

§  Building your first application
–  Application Overview
–  ClientManager.java and RestClient.java
–  Adding and enabling the Detail View

#forcewebinar
Resources
§  Salesforce Platform Mobile Services
–  http://developer.force.com/mobile

§  Mobile SDK
–  npm install forcedroid
–  https://github.com/forcedotcom/

§  Android Tutorial
–  http://bit.ly/18fafoY

#forcewebinar
Next Steps
§  Get a Developer Edition Account
–  http://developer.force.com/join

§  Work through the tutorial
–  http://bit.ly/18fafoY

§  Install forcedroid
–  npm install forcedroid

§  Build your app

#forcewebinar
Q&A
Wolfgang Mathurin
Software Engineering Architect

#forcewebinar

Ryan Upton
Developer Evangelist
@ryanjupton

More Related Content

PDF
Intro to Salesforce Mobile SDK: Building Hybrid Apps Webinar
PDF
Introduction to Developing Android Apps With the Salesforce Mobile SDK
PPTX
Building Mobile Apps on Salesforce Platform with Mobile SDK
PDF
Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar
PDF
Understanding Native, Hybrid, and Web Mobile Architectures
PDF
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
PDF
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
PDF
Developing Offline-Capable Apps with the Salesforce Mobile SDK and SmartStore
Intro to Salesforce Mobile SDK: Building Hybrid Apps Webinar
Introduction to Developing Android Apps With the Salesforce Mobile SDK
Building Mobile Apps on Salesforce Platform with Mobile SDK
Intro to the Salesforce Mobile SDK: Building iOS Apps Webinar
Understanding Native, Hybrid, and Web Mobile Architectures
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Developing Offline-Capable Apps with the Salesforce Mobile SDK and SmartStore

What's hot (20)

PPT
Developing Offline Mobile Apps with the Salesforce.com Mobile SDK SmartStore,...
PPT
Build your API with Force.com and Heroku
PPTX
Building JavaScript Applications on the Salesforce1 Platform
PPTX
SD DUG Salesforce Lightning Week
PPTX
Igor Androsov on Mobilizing Salesforce Data with 12 Factor App on Heroku
PDF
Introduction to the Salesforce Mobile SDK for Android
PPTX
Secure Development on the Salesforce Platform - Part 3
PPTX
Integrating with salesforce
PPTX
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
PPTX
Mds cloud saturday 2015 salesforce intro
PPTX
What is CloudSpokes?
PPTX
Building apps faster with lightning and winter '17
PDF
Going Offline with Salesforce1 Mobile SDK
PDF
Salesforce API Series: Integrating Applications with Force.com Webinar
PDF
SLDS and Lightning Components
PPTX
Quickly Build a Native Mobile App for your Community using Salesforce Mobile SDK
PPTX
Introduction to lightning out df16
PDF
Build Amazing Website without coding using Salesforce SiteForce
PDF
Javascript Security and Lightning Locker Service
PPTX
Build Next-gen Apps Faster with Lightning Components
Developing Offline Mobile Apps with the Salesforce.com Mobile SDK SmartStore,...
Build your API with Force.com and Heroku
Building JavaScript Applications on the Salesforce1 Platform
SD DUG Salesforce Lightning Week
Igor Androsov on Mobilizing Salesforce Data with 12 Factor App on Heroku
Introduction to the Salesforce Mobile SDK for Android
Secure Development on the Salesforce Platform - Part 3
Integrating with salesforce
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Mds cloud saturday 2015 salesforce intro
What is CloudSpokes?
Building apps faster with lightning and winter '17
Going Offline with Salesforce1 Mobile SDK
Salesforce API Series: Integrating Applications with Force.com Webinar
SLDS and Lightning Components
Quickly Build a Native Mobile App for your Community using Salesforce Mobile SDK
Introduction to lightning out df16
Build Amazing Website without coding using Salesforce SiteForce
Javascript Security and Lightning Locker Service
Build Next-gen Apps Faster with Lightning Components
Ad

Similar to Intro to the Salesforce Mobile SDK: Building Android Apps (20)

PPTX
Mobile Packs From Salesforce.com
PPTX
Modev presentation
PPTX
Mobile Developer Week
PPT
Mobilising your salesforce applications using j query mobile
PPTX
Building a great mobile experience on the force.com platforms
PPTX
Salesforce.com Mobile Dev Week Chicago DUG
PPTX
Salesforce Mobile architecture introduction
PPTX
Build, Manage, and Deploy Mobile Apps Faster with App Cloud Mobile
PPTX
Webinar May 15th - Intro to salesforce1 mobile app development no code
PDF
Salesforce Mobile DevWeek 21-28 April: Introduction to Native & Hybrid Develo...
PDF
Force.com Friday - An Intro to Force.com
PPTX
Force.com Friday - Intro to Force.com
PPTX
Force.com Fridays: Intro to Force.com
PDF
ISV Beginners Guide to Building Salesforce1 Mobile Apps (October 14, 2014)
PPT
Salesforce1 - Point and Click App Development
PDF
Intro to Building Mobile Apps with Salesforce1: No Code Required Webinar
PDF
Lightning App Builder: Build Apps Visually for Mobile
PPTX
Trailhead live - Overview of Salesforce App Cloud
PDF
ISV Advanced Guide to Building a Salesforce1 Mobile App (October 14, 2014)
PDF
Create a Hybrid Mobile App With the Salesforce Mobile SDK
Mobile Packs From Salesforce.com
Modev presentation
Mobile Developer Week
Mobilising your salesforce applications using j query mobile
Building a great mobile experience on the force.com platforms
Salesforce.com Mobile Dev Week Chicago DUG
Salesforce Mobile architecture introduction
Build, Manage, and Deploy Mobile Apps Faster with App Cloud Mobile
Webinar May 15th - Intro to salesforce1 mobile app development no code
Salesforce Mobile DevWeek 21-28 April: Introduction to Native & Hybrid Develo...
Force.com Friday - An Intro to Force.com
Force.com Friday - Intro to Force.com
Force.com Fridays: Intro to Force.com
ISV Beginners Guide to Building Salesforce1 Mobile Apps (October 14, 2014)
Salesforce1 - Point and Click App Development
Intro to Building Mobile Apps with Salesforce1: No Code Required Webinar
Lightning App Builder: Build Apps Visually for Mobile
Trailhead live - Overview of Salesforce App Cloud
ISV Advanced Guide to Building a Salesforce1 Mobile App (October 14, 2014)
Create a Hybrid Mobile App With the Salesforce Mobile SDK
Ad

More from Salesforce Developers (20)

PDF
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
PDF
Maximizing Salesforce Lightning Experience and Lightning Component Performance
PDF
Local development with Open Source Base Components
PPTX
TrailheaDX India : Developer Highlights
PDF
Why developers shouldn’t miss TrailheaDX India
PPTX
CodeLive: Build Lightning Web Components faster with Local Development
PPTX
CodeLive: Converting Aura Components to Lightning Web Components
PPTX
Enterprise-grade UI with open source Lightning Web Components
PPTX
TrailheaDX and Summer '19: Developer Highlights
PDF
Live coding with LWC
PDF
Lightning web components - Episode 4 : Security and Testing
PDF
LWC Episode 3- Component Communication and Aura Interoperability
PDF
Lightning web components episode 2- work with salesforce data
PDF
Lightning web components - Episode 1 - An Introduction
PDF
Migrating CPQ to Advanced Calculator and JSQCP
PDF
Scale with Large Data Volumes and Big Objects in Salesforce
PDF
Replicate Salesforce Data in Real Time with Change Data Capture
PDF
Modern Development with Salesforce DX
PDF
Get Into Lightning Flow Development
PDF
Integrate CMS Content Into Lightning Communities with CMS Connect
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Local development with Open Source Base Components
TrailheaDX India : Developer Highlights
Why developers shouldn’t miss TrailheaDX India
CodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Converting Aura Components to Lightning Web Components
Enterprise-grade UI with open source Lightning Web Components
TrailheaDX and Summer '19: Developer Highlights
Live coding with LWC
Lightning web components - Episode 4 : Security and Testing
LWC Episode 3- Component Communication and Aura Interoperability
Lightning web components episode 2- work with salesforce data
Lightning web components - Episode 1 - An Introduction
Migrating CPQ to Advanced Calculator and JSQCP
Scale with Large Data Volumes and Big Objects in Salesforce
Replicate Salesforce Data in Real Time with Change Data Capture
Modern Development with Salesforce DX
Get Into Lightning Flow Development
Integrate CMS Content Into Lightning Communities with CMS Connect

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
cuic standard and advanced reporting.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Modernizing your data center with Dell and AMD
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPT
Teaching material agriculture food technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation theory and applications.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Weekly Chronicles - August'25 Week I
cuic standard and advanced reporting.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Modernizing your data center with Dell and AMD
The Rise and Fall of 3GPP – Time for a Sabbatical?
Mobile App Security Testing_ A Comprehensive Guide.pdf
Understanding_Digital_Forensics_Presentation.pptx
Empathic Computing: Creating Shared Understanding
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Teaching material agriculture food technology
Spectral efficient network and resource selection model in 5G networks
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation theory and applications.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Unlocking AI with Model Context Protocol (MCP)
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
20250228 LYD VKU AI Blended-Learning.pptx
Review of recent advances in non-invasive hemoglobin estimation
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

Intro to the Salesforce Mobile SDK: Building Android Apps

  • 1. Intro to the Salesforce Mobile SDK: Building Android Apps October 23rd, 2013
  • 2. 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 nonsalesforce.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. #forcewebinar
  • 4. Follow Developer Force for the Latest News @forcedotcom / #forcewebinar Developer Force – Force.com Community +Developer Force – Force.com Community Developer Force Developer Force Group #forcewebinar
  • 5. Agenda §  Getting Started with Android Native Apps §  Building your first Android App for Salesforce §  Resources and Next Steps §  Q & A #forcewebinar
  • 6. Salesforce Has The Answer For Every Mobile Need Suite of downloadable apps for accessing Salesforce data from a mobile device #forcewebinar Custom mobile apps designed and built by you or an ISV partner Mobile AppExchange for discovering purpose-built apps or vertical solutions by industry
  • 7. Salesforce Platform Mobile Services http://developer.force.com/mobile #forcewebinar
  • 8. Salesforce Mobile SDK 2.0 Accessible To Developers of All Levels Power and Flexibility for Advanced Coders Apps for Employees, Partners, and Customers Native or Hybrid – Android and iOS #forcewebinar •  •  •  •  •  OAuth2 Offline Datastore SmartSync Framework Hybrid Container API Wrappers
  • 9. Getting Started §  Node.js + NPM: –  http://nodejs.org and http://npmjs.org §  Download the forcedroid application –  npm install forcedroid §  Define your connected app –  Setup / Apps / Connected Apps §  Create the sample application –  forcedroid create #forcewebinar
  • 10. Connected Apps §  Define your application public and private keys §  Define OAuth permission scope §  Define features like Canvas access and PIN locking #forcewebinar
  • 12. Building out the App §  Review generated code §  Customize the list screen §  Create the detail screen §  Test your app #forcewebinar
  • 13. Customize the List Screen §  Remove buttons to fetch accounts and contacts §  Change SOQL and run query on load §  Try out the app #forcewebinar
  • 14. Create the Detail Screen §  Create the detail activity and layout §  Add support for update §  Link main activity and detail activity §  Try out the app #forcewebinar
  • 15. Recap §  Getting started with the Mobile SDK and native Android –  Connected Apps –  npm install forcedroid –  forcedroid create §  Building your first application –  Application Overview –  ClientManager.java and RestClient.java –  Adding and enabling the Detail View #forcewebinar
  • 16. Resources §  Salesforce Platform Mobile Services –  http://developer.force.com/mobile §  Mobile SDK –  npm install forcedroid –  https://github.com/forcedotcom/ §  Android Tutorial –  http://bit.ly/18fafoY #forcewebinar
  • 17. Next Steps §  Get a Developer Edition Account –  http://developer.force.com/join §  Work through the tutorial –  http://bit.ly/18fafoY §  Install forcedroid –  npm install forcedroid §  Build your app #forcewebinar
  • 18. Q&A Wolfgang Mathurin Software Engineering Architect #forcewebinar Ryan Upton Developer Evangelist @ryanjupton