Back to project page SevenWonders.
The source code is released under:
Apache License
If you think the Android project SevenWonders 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 skylight1.sevenwonders; /* w w w .ja va 2s. com*/ import skylight1.util.BuildInfo; import android.app.Application; public class SevenWondersApplication extends Application { public static final boolean isDebug = true; //TODO: make false when publishing ! @Override public void onCreate() { super.onCreate(); if (isDebug) { if(!BuildInfo.isDebuggable(this)) { throw new Error("******** SET SevenWondersApplication.isDebug = false ! ********"); } } // make sure the audio stops if the application ends Thread.setDefaultUncaughtExceptionHandler(new SoundTracksStoppingExceptionHandler()); } }