Back to project page Checkers.
The source code is released under:
Apache License
If you think the Android project Checkers listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.parse.starter; //from w ww . ja v a 2s. co m import android.app.Application; import com.parse.Parse; import com.parse.ParseACL; import com.parse.ParseException; import com.parse.ParseInstallation; import com.parse.PushService; public class ParseApplication extends Application { public static Game game; @Override public void onCreate() { super.onCreate(); // Add your initialization code here Parse.initialize(this, "PARSE_ID", "PARSE_KEY"); ParseACL defaultACL = new ParseACL(); // If you would like all objects to be private by default, remove this line. defaultACL.setPublicReadAccess(true); ParseACL.setDefaultACL(defaultACL, true); PushService.setDefaultPushCallback(this, ParseStarterProjectActivity.class); try { ParseInstallation.getCurrentInstallation().save(); } catch (ParseException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }