> For the complete documentation index, see [llms.txt](https://docs.symbyoz.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.symbyoz.io/code_examples/connect-to-android-app.md).

# Connect to Android app

## Install `Parse-SDK-Android`

Open your project's `build.gradle` file (**not** the module file) and add this dependency,

```java
allprojects {
	repositories {
		...
		maven { url "https://jitpack.io" }
	}
}
```

Then open your module `build.gradle` file and add the Parse library \
(with the latest version being[![](https://jitpack.io/v/parse-community/Parse-SDK-Android.svg)](https://jitpack.io/#parse-community/Parse-SDK-Android))

```java
dependencies {
    implementation "com.github.parse-community.Parse-SDK-Android:parse:1.18.5"
}
```

## Initialize Parse

Setup Parse using your server configuration:

{% code title="MyApp.java" %}

```java
import com.parse.Parse;
import android.app.Application;

public class MyApp extends Application 
{
  @Override
  public void onCreate() 
  {
    super.onCreate();
    
    Parse.initialize(new Parse.Configuration.Builder(this)
      .applicationId("YOUR_APP_ID")
      .clientKey("YOUR_CLIENT_KEY")
      .server("https://xxxx.parse-symbyoz.com/parse/")
      .enableLocalDataStore()
      .build()); 
  }
}
```

{% endcode %}

The custom `Application` class must be registered in `AndroidManifest.xml`

{% code title="AndroidManifest.xml" %}

```markup
<application
   android:name=".MyApp"
   ...>
   ...
 </application>
```

{% endcode %}
