FileDocCategorySizeDatePackage
FountainFbo.javaAPI DocAndroid 5.1 API1900Thu Mar 12 22:22:44 GMT 2015com.example.android.rs.fountainfbo

FountainFbo

public class FountainFbo extends android.app.Activity

Fields Summary
private static final String
LOG_TAG
private static final boolean
DEBUG
private static final boolean
LOG_ENABLED
private FountainFboView
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)


    
        
        super.onCreate(icicle);

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

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

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

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

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