super.onCreate(icicle); resolveIntent(); String errMsg = null; // PENDING: resourcify error messages! switch (mError) { default: errMsg = "You need to setup your Picassa Web account first."; break; } TextView tv = new TextView(this); tv.setText(errMsg); setContentView(tv);
super.onResume(); mHandler.postAtTime(mCloseScreenCallback, SystemClock.uptimeMillis() + 5000);
super.onStop(); mHandler.removeCallbacks(mCloseScreenCallback); // startNextActivity();
Intent intent = getIntent(); mError = intent.getIntExtra("error", mError); mLogoutOnExit = intent.getBooleanExtra("logout", mLogoutOnExit); mReconnectOnExit = intent.getBooleanExtra("reconnect", mReconnectOnExit);