Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 24th, 2012  |  syntax: None  |  size: 0.48 KB  |  hits: 25  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. btnHola.setOnClickListener[error aqui](new view.OnClickListener() {
  2.                 @Override
  3.                         public void onClick[error aqui](View arg0) {
  4.                          Intent intent = new Intent(PrimerProgramaActivity.this, FrmMensaje.class);
  5.                          
  6.                         Bundle bundle = new Bundle();
  7.                         bundle.putString("NOMBRE", txtNombre.getText().toString());
  8.                         intent.putExtras(bundle);
  9.                  
  10.                         startActivity(intent);
  11.                                
  12.                         }
  13.                 });
  14. }