Symbyoz
  • Documentations
  • News
    • Access to Private and Public S3 bucket
    • Create manual database Backup
    • Parse Live Query on Symbyoz
    • Symbyoz back-office "white mark"
    • Cloud Code is now available in a Console
  • Tutorials
    • How to create a new project
    • How to create a custom module
    • How to manage left menu
    • How to manage admin user rights
  • Source code examples
    • Connect to iOS app
    • Connect to Android app
    • Create & Save Object
    • Get Object
    • Delete Object
    • User Management
    • Queries
    • Subclasses
    • Cloud Code
Powered by GitBook
On this page
  • Install Parse-SDK-Android
  • Initialize Parse

Was this helpful?

  1. Source code examples

Connect to Android app

https://docs.parseplatform.org/android/guide/#getting-started

PreviousConnect to iOS appNextCreate & Save Object

Last updated 6 years ago

Was this helpful?

Install Parse-SDK-Android

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

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

Then open your module build.gradle file and add the Parse library (with the latest version being)

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

Initialize Parse

Setup Parse using your server configuration:

MyApp.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()); 
  }
}

The custom Application class must be registered in AndroidManifest.xml

AndroidManifest.xml
<application
   android:name=".MyApp"
   ...>
   ...
 </application>