Esempio n. 1
0
File: Main.java Progetto: hsbp/urc
 /** Called when the activity is first created. */
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.main);
   sender = new Sender();
   sender.start();
   attachEventHandlers();
 }
Esempio n. 2
0
File: Main.java Progetto: hsbp/urc
 public void setTarget(View v) {
   EditText et = (EditText) findViewById(R.id.target);
   sender.setAddress(et.getText().toString());
 }