Ejemplo n.º 1
0
          @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();
            }
          }
Ejemplo n.º 2
0
  private void showHelp() {

    Toast.makeText(this, getString(R.string.help_clip_select), Toast.LENGTH_LONG).show();
  }