Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Set up parse.com BaaS to android project

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 277
    Comment on it

    It is very easy to set up parse.com to anroid project. After setting up, you can create your own backend very easily.

    First of all define dependency on gradle file

    dependencies {
     compile 'com.parse:parse-android:1.10.2'
    }

    After this, you need to initialize parse on Application Class.
    APPLICATION_ID is the application id of your project at parse.com CLIENT_KEY is the client key of your project at parse.com

    public class TestApplication extends Application {
    
    @Override
    public void onCreate() {
        super.onCreate();
        if (MyUtility.isConnected(this)) {
            // initializing parse here
            Parse.enableLocalDatastore(this);
            Parse.initialize(this, Constants.APPLICATION_ID, Constants.CLIENT_KEY);
    
            ParseFacebookUtils.initialize(this);
        }
    }
    }
    

    Hope, this will help you.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: