FileDocCategorySizeDatePackage
Fountain_v11.javaAPI DocAndroid 5.1 API2574Thu Mar 12 22:22:44 GMT 2015com.android.fountain_v11

Fountain_v11

public class Fountain_v11 extends android.app.Activity

Fields Summary
private static final String
LOG_TAG
private static final boolean
DEBUG
private static final boolean
LOG_ENABLED
private FountainView
mView
Constructors Summary
Methods Summary
static voidlog(java.lang.String message)

        if (LOG_ENABLED) {
            Log.v(LOG_TAG, message);
        }
    
public voidonCreate(android.os.Bundle icicle)


    // get the current looper (from your Activity UI thread for instance



    
        
        super.onCreate(icicle);

        // Create our Preview view and set it as the content of our
        // Activity
        mView = new FountainView(this);
        setContentView(mView);
    
protected voidonPause()

        Log.e("rs", "onPause");

        // Ideally a game should implement onResume() and onPause()
        // to take appropriate action when the activity looses focus
        super.onPause();
        mView.pause();



        //Runtime.getRuntime().exit(0);
    
protected voidonResume()

        Log.e("rs", "onResume");

        // Ideally a game should implement onResume() and onPause()
        // to take appropriate action when the activity looses focus
        super.onResume();
        mView.resume();