+ All Categories
Home > Technology > Intro to the Salesforce Mobile SDK: Building Android Apps

Intro to the Salesforce Mobile SDK: Building Android Apps

Date post: 15-Jan-2015
Category:
Upload: salesforce-developers
View: 3,656 times
Download: 3 times
Share this document with a friend
Description:
Salesforce Platform Mobile Services provides developers with tools to easily create mobile applications while leveraging existing skill sets like Visualforce, JavaScript and HTML 5. The open-source Salesforce Platform Mobile SDKs give you the flexibility to build native, web and hybrid apps for iOS and Android. This webinar is the third in a series focusing on the new Mobile SDK 2.0 features, and will demonstrate how to create your own native Android mobile applications that interface with the Salesforce Platform. The webinar walks you through the development of a simple native Android application. Key Takeaways: Learn how to build Android apps quickly with the Mobile SDK 2.0 Understand native Android packages Use SmartSynch to Access Salesforce Objects Storing data offline with SmartStore Intended Audience: Developers experienced with Salesforce Platform and have a working understanding of building Android applications. It would be helpful if developers have some understanding of developing Android applications with Salesforce Mobile SDK but it’s not mandatory. Developers looking to build Android applications integrating with Salesforce.com or developers exploring mobile use cases with Salesforce.com. Developers looking to understand Salesforce’s mobile data synchronization and offline data storage solutions in more depth.
Popular Tags:
18
Intro to the Salesforce Mobile SDK: Building Android Apps October 23rd, 2013
Transcript
Page 1: Intro to the Salesforce Mobile SDK: Building Android Apps

Intro to the Salesforce Mobile SDK: Building Android Apps October 23rd, 2013

Page 2: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

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.

Page 3: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

Speakers

Wolfgang Mathurin Mobile Architect

Ryan Upton Mobile Evangelist @ryanjupton

Page 4: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

Follow Developer Force for the Latest News

@forcedotcom / #forcewebinar

Developer Force – Force.com Community

+Developer Force – Force.com Community

Developer Force

Developer Force Group

Page 5: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

Agenda

§  Getting Started with Android Native Apps

§  Building your !rst Android App for Salesforce

§  Resources and Next Steps

§  Q & A

Page 6: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

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

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

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

Salesforce Has The Answer For Every Mobile Need

Page 7: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

http://developer.force.com/mobile

Salesforce Platform Mobile Services

Page 8: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

Accessible To Developers of All Levels

Power and Flexibility for Advanced Coders

Apps for Employees, Partners, and Customers

Native or Hybrid – Android and iOS

Salesforce Mobile SDK 2.0

•  OAuth2 •  Of"ine Datastore •  SmartSync Framework •  Hybrid Container •  API Wrappers

Page 9: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

Getting Started

§  Node.js + NPM: –  http://nodejs.org and http://npmjs.org

§  Download the forcedroid application –  npm install forcedroid

§  De!ne your connected app –  Setup / Apps / Connected Apps

§  Create the sample application –  forcedroid create

Page 10: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

Connected Apps

§  De!ne your application public and private keys

§  De!ne OAuth permission scope

§  De!ne features like Canvas access and PIN locking

Page 11: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

Chapter 1:

Connected Apps

Page 12: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

Building out the App

§  Review generated code

§  Customize the list screen

§  Create the detail screen

§  Test your app

Page 13: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

Customize the List Screen

§  Remove buttons to fetch accounts and contacts

§  Change SOQL and run query on load

§  Try out the app

Page 14: Intro to the Salesforce Mobile SDK: Building Android Apps

#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

Page 15: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

Recap

§  Getting started with the Mobile SDK and native Android –  Connected Apps

–  npm install forcedroid

–  forcedroid create

§  Building your !rst application –  Application Overview

–  ClientManager.java and RestClient.java

–  Adding and enabling the Detail View

Page 16: Intro to the Salesforce Mobile SDK: Building Android Apps

#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

Page 17: Intro to the Salesforce Mobile SDK: Building Android Apps

#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

Page 18: Intro to the Salesforce Mobile SDK: Building Android Apps

#forcewebinar

Q & A

Wolfgang Mathurin Software Engineering Architect

Ryan Upton Developer Evangelist @ryanjupton


Recommended