Example usage for android.app Application subclass-usage

List of usage examples for android.app Application subclass-usage

Introduction

In this page you can find the example usage for android.app Application subclass-usage.

Usage

From source file com.hwx.usbhost.usbhost.Application.java

public class Application extends android.app.Application implements Thread.UncaughtExceptionHandler {
    @Override
    public void uncaughtException(Thread thread, Throwable throwable) {
        Intent intent = new Intent(this, ScaleActivity.class);
        intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
        startActivity(intent);

From source file de.itomig.itoplib.ItopConfig.java

@SuppressLint("UseSparseArrays")
public class ItopConfig extends Application {
    // DEBUG must be false for all versions released to android market
    // also remove    android:debuggable="true"  in the AndroidManifest.xml
    public static boolean debug = true;
    // corporate version with URL check and update from itomig.de

From source file email.schaal.ocreader.OCReaderApplication.java

/**
 * Application class to setup the singletons
 */
public class OCReaderApplication extends Application {
    private static final String TAG = OCReaderApplication.class.getName();

From source file com.fastbootmobile.encore.app.OmniMusic.java

/**
 * Application structure wrapper to handle various application-wide (activity + services) properties
 */
public class OmniMusic extends Application {
    private static final String TAG = "OmniMusic";

From source file cs.man.ac.uk.tavernamobile.utils.TavernaAndroid.java

public class TavernaAndroid extends Application {

    /**** for testing purpose ****/
    // private static final String TavernaServerAddress =
    // "http://leela.cs.man.ac.uk:8080/taverna242";
    private static final String TavernaServerAddress = "https://eric.rcs.manchester.ac.uk:8443/taverna-server-2";

From source file nl.spellenclubeindhoven.dominionshuffle.Application.java

public class Application extends android.app.Application {
    private DataReader dataReader = new DataReader(this);
    private CardSelector cardSelector = new CardSelector(this);
    private boolean cardSelectorLoaded = false;
    private Result result;

From source file se.erichansander.retrotimer.RetroTimer.java

/**
 * Main application class. Handles state shared between activities, and holds
 * shared constants etc.
 */
public class RetroTimer extends Application {
    /**

From source file org.jboss.aerogear.todo.ToDoApplication.java

public class ToDoApplication extends Application {
    private Pipeline pipeline;
    private Authenticator auth;

    @Override
    public void onCreate() {

From source file org.namelessrom.devicecontrol.Application.java

public class Application extends android.app.Application {
    public static final Handler HANDLER = new Handler();

    private static final String sExternalStoragePath = String.format("%s/%s",
            Environment.getExternalStorageDirectory(), "DeviceControl");
    private static final File sExternalStorageDir = new File(sExternalStoragePath);

From source file com.pwcgarage.ibeaconref.BeaconReferenceApplication.java

/**
 * @author asksven
 */
public class BeaconReferenceApplication extends Application implements BootstrapNotifier {
    private static final String TAG = "BeaconReferenceApplication";
    private RegionBootstrap m_regionBootstrap;