Methods Summary |
---|
static void | log(java.lang.String message)
if (LOG_ENABLED) {
Log.v(LOG_TAG, message);
}
|
public void | onCreate(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 void | onPause()
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 void | onResume()
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();
|