Download an Android project with source code and start using Back4App
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 Install Parse SDK tutorial
To complete this quickstart, you need:
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 - Set up 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 New Parse 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 Website.
- Find your app and click on
- Click on
- Go to
If everything works properly, you should find a class named
Installation as follows:
At this point, you have learned how to get started with Android apps.