@Override public void handleMessage(Message msg) { switch (msg.what) { case 0: ((TextView) findViewById(R.id.textViewStatus)).setText("PUBLISHED!"); ((Button) findViewById(R.id.btnPublish)).setEnabled(false); break; default: // err Toast.makeText( SceneEditorNoSwipeActivity.this, msg.getData().getString("err"), Toast.LENGTH_LONG) .show(); } }
private void showHelp() { Toast.makeText(this, getString(R.string.help_clip_select), Toast.LENGTH_LONG).show(); }