protected void onCreate(Bundle icicle) {
   super.onCreate(icicle);
   setContentView(R.layout.event_password);
   toJoin = Event.unbundle(getIntent().getBundleExtra(Constants.EVENT_EXTRA));
   // setTitle(getString(R.string.event_label) + " " + toJoin.getName());
   passwordEdit = (EditText) findViewById(R.id.event_password_edit);
 }
 public void handleLoginToEvent(View view) {
   // TODO handle if they didn't type anything in
   Intent toReturn = new Intent();
   String password = passwordEdit.getText().toString();
   toReturn.putExtra(Constants.EVENT_EXTRA, toJoin.bundleUp());
   toReturn.putExtra(Constants.EVENT_PASSWORD_EXTRA, password);
   setResult(Activity.RESULT_OK, toReturn);
   finish();
 }