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.
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
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
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