Example #1
0
File: Main.java Project: 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();
 }
Example #2
0
File: Main.java Project: hsbp/urc
 public void setTarget(View v) {
   EditText et = (EditText) findViewById(R.id.target);
   sender.setAddress(et.getText().toString());
 }