Back to project page SUREwalk_android.
The source code is released under:
MIT License
If you think the Android project SUREwalk_android 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 org.utexas.surewalk.classes; // ww w. ja v a 2 s . com import android.app.Application; import com.parse.ParseInstallation; import com.parse.PushService; import org.utexas.surewalk.activities.MainActivity; import org.utexas.surewalk.controllers.ParseHandler; public class MainApplication extends Application { @Override public void onCreate(){ new ParseHandler(this).initializeParse(); PushService.setDefaultPushCallback(this, MainActivity.class); ParseInstallation.getCurrentInstallation().saveInBackground(); } }