Welcome to Backendless! In this document you will find the instructions for getting up and running with Backendless quickly. The SDK you downloaded contains a library (jar file) with the APIs, which provide access to the Backendless services. These services enable the server-side functionality for developing and running mobile and desktop applications. Follow the steps below to get started with Backendless:
- Create Developer Account. An account is required in order to create and manage your Backendless backend. You can login to our console at: http://backendless.com/develop
- Locate Application ID and Secret Key. The console is where you can manage the applications, their configuration settings and data. Before you start using any of the APIs, make sure to select an application in the console and open the "Manage" section. The "App Settings" screen contains the application ID and secret API keys, which you will need to use in your code.
- Open Backendless Examples. The SDK includes several examples demonstrating some of the Backendless functionality. The /samples folder contains an IDEA project file (AndroidSampleApps.ipr) combining all the samples.
- Copy/Paste Application ID and Secret Key. Each example must be configured with the application ID and secret key generated for your application.
- Run Sample Apps.
Setting up your app
The backendless client library for Android and Java is available through the central Maven repository. Since the version of Backendless deployed to maven changes frequently, make sure to lookup the latest version number from Maven Central. To add a dependency for the library, add the following to pom.xml (make sure to replace "VERSION FROM MAVEN" with a specific version number):
<dependency> <groupId>com.backendless</groupId> <artifactId>backendless</artifactId> <version>VERSION FROM MAVEN</version> </dependency>
To configure Backendless library in Gradle, add the following line into the "dependencies" element in gradle.build ((make sure to replace "VERSION FROM MAVEN" with a specific version number):
compile 'com.backendless:backendless:VERSION FROM MAVEN'