Add Parse SDK to your Android Project
In this section you learn how to get started with an Android Studio template and get ready to use Back4App in 3 easy steps.
If you want a detailed Quickstart guide or connect Back4App to an existing project, go to our Custom SDK Installation Tutorial
To complete this quickstart, you need:
- Android Studio.
- An app created at Back4App.
- Follow the Create New App tutorial to learn how to create an app at Back4App.
Step 1 - Get the template
Download the template at Back4App’s GitHub repository, and unzip files in your project folder.
You can do that using the following command line:
$ curl -LOk https://github.com/back4app/android-quickstart-example/archive/master.zip && unzip master.zip
Step 2 - Open the project template
- Open Android Studio.
- Click on
Open an existing Android Studio project.
- Navigate to the project folder and click on
- Wait for Android Studio to open and run Gradle.
Step 3 - Setup app’s credentials
Update your strings values to set up the app’s credentials. Parse Android SDK uses these settings to connect to the Back4App servers.
- Open your strings file:
- Go to your App Dashboard at Back4App website.
- Navigate to app’s settings: Click on
Core Settingsblock >
- Return to your
strings.xmlfile and paste your
See more at our Back4App’s Create New App guide.
Step 4 - Testing your connection
- Build your app in a device or virtual device (
- Wait until the
Hello Word!screen appears.
- Login at Back4App.
- Find your app and click on
- Click on
- Go to
If everything works properly, you should find a class named
Installation as follows: