Connect to Android app
https://docs.parseplatform.org/android/guide/#getting-started

Install Parse-SDK-Android

Open your project's build.gradle file (not the module file) and add this dependency,
1
allprojects {
2
repositories {
3
...
4
maven { url "https://jitpack.io" }
5
}
6
}
Copied!
Then open your module build.gradle file and add the Parse library (with the latest version being
)
1
dependencies {
2
implementation "com.github.parse-community.Parse-SDK-Android:parse:1.18.5"
3
}
Copied!

Initialize Parse

Setup Parse using your server configuration:
MyApp.java
1
import com.parse.Parse;
2
import android.app.Application;
3
4
public class MyApp extends Application
5
{
6
@Override
7
public void onCreate()
8
{
9
super.onCreate();
10
11
Parse.initialize(new Parse.Configuration.Builder(this)
12
.applicationId("YOUR_APP_ID")
13
.clientKey("YOUR_CLIENT_KEY")
14
.server("https://xxxx.parse-symbyoz.com/parse/")
15
.enableLocalDataStore()
16
.build());
17
}
18
}
Copied!
The custom Application class must be registered in AndroidManifest.xml
AndroidManifest.xml
1
<application
2
android:name=".MyApp"
3
...>
4
...
5
</application>
Copied!