Skip to content

orikkers/SalesforceMobileSDK-Android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salesforce.com Mobile SDK for Android

Developer Preview The code, sample applications, and documentation offered in this repository represent a preview of more full-fledged functionality to come. In the lead-up to a general release, the public APIs may change from their current representation and implementation details.

Introduction

Native Mobile Libraries The Salesforce Mobile SDK provides essential libraries for quickly building native or hybrid mobile apps that seamlessly integrate with the Salesforce cloud architecture. Out of the box, we provide an implementation of the OAuth2 protocol, abstracting away the complexity of securely storing tokens or fetching refresh tokens when a session expires. The SDK also provides Java-based REST API wrappers, making it easy to retrieve, store, and manipulate data.

Salesforce Mobile Container HTML5 is quickly emerging as dominant technology for developing cross-platform mobile applications. While developers can create sophisticated apps with HTML5 and JavaScript, some limitations remain, specifically: session management, access to the camera and address book, and the inability to distribute apps inside public App Stores. The Salesforce Mobile Container makes possible to combine the ease of web app development with power of the Android platform by wrapping a web app inside a thin native container, producing a hybrid application.

Setting up your development environment

The following steps will help you get started with your development environment, whether you choose to develop native apps or hybrid apps. See the README files in the native/ and hybrid/ folders for additional notes pertaining to development in those environments.

  1. Install the Android SDK (r14 or above): http://developer.android.com/sdk/index.html
  2. Install ant 1.8.0 or later: http://ant.apache.org/manual/install.html (in order to build from the command line)
  3. Install Eclipse: http://www.eclipse.org/
  4. Install the Android Development Tools (ADT) plugin for Eclipse (r14 or above): http://developer.android.com/sdk/eclipse-adt.html
  5. Get setup on github: http://help.github.com/

A word about the Android 4.0 (API 14) SDK: Starting with the SDK that's deployed with API 14, Google has introduced some fundamental changes in Eclipse project configurations, build configuratons, library project configurations, and other areas. Because of this, you will not be able to build any of the projects in this repository without upgrading to API 14. Note that updating to r14 will not impact your ability to build for earlier Android platforms. It's just the toolset changes of the SDK that require the upgrade.

Discussion

If you would like to make suggestions, have questions, or encounter any issues, we'd love to hear from you. Post any feedback you have to the Mobile Community Discussion Board on developerforce.com.

About

Android SDK for Salesforce

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published