Salesforce Mobile SDK provides sample apps that demonstrate how to use Mobile Sync in hybrid apps. Account Editor is the most full-featured of these samples. You can switch to one of the simpler samples by changing the startPage property in the bootconfig.json file.
Running the Samples in iOS
In your Salesforce Mobile SDK for iOS installation directory, double-click the SalesforceMobileSDK.xcworkspace to open it in Xcode. In Xcode Project Navigator, select the Hybrid SDK/AccountEditor project and click Run.
Running the Samples in Android
To run the sample in Android Studio, you first add references to basic libraries from your clone of the SalesforceMobileSDK-Android repository. Add the following dependencies to your sample module, setting Scope to “Compile” for each one:
libs/SalesforceSDK
libs/SmartStore
hybrid/SampleApps/AccountEditor
After Android Studio finishes building, click Run ‘<sample_name>’ in the toolbar or menu.
We've Moved
Welcome to the new home of the Mobile SDK Developer Guide! For now, the Japanese guide can be found in PDF form.