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 RSTestView(this);
setContentView(mView);
|
protected void | onPause()
// Ideally a game should implement onResume() and onPause()
// to take appropriate action when the activity loses focus
super.onPause();
mView.pause();
|
protected void | onResume()
// Ideally a game should implement onResume() and onPause()
// to take appropriate action when the activity loses focus
super.onResume();
mView.resume();
|
protected void | onStop()
// Actually kill the app if we are stopping. We don't want to
// continue/resume this test ever. It should always start fresh.
finish();
super.onStop();
|