Back to project page Gazetti_Newspaper_Reader.
The source code is released under:
MIT License
If you think the Android project Gazetti_Newspaper_Reader 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 in.sahildave.gazetti; /*from ww w.j a v a2s . c om*/ import android.app.Application; import android.util.Log; import com.crashlytics.android.Crashlytics; import com.parse.ConfigCallback; import com.parse.Parse; import com.parse.ParseConfig; import com.parse.ParseException; import in.sahildave.gazetti.util.ConfigService; import in.sahildave.gazetti.util.Constants; public class StarterApplication extends Application { @Override public void onCreate() { super.onCreate(); Parse.initialize(this, Constants.PARSE_APP_ID, Constants.PARSE_CLIENT_KEY); Parse.enableLocalDatastore(this); Crashlytics.start(this); Crashlytics.getInstance().setDebugMode(false); Crashlytics.log(Log.INFO, StarterApplication.class.getName(), "Starting Application - " + System.currentTimeMillis()); ParseConfig.getInBackground(new ConfigCallback() { @Override public void done(ParseConfig config, ParseException e) { ConfigService.getInstance(); } }); } }