Removal of OnClickListener and automation
<p>I would like to remove the button and have the process automated in the following code. I have looked around but haven't quite came across the answer I need.</p>

<pre><code>public class MainActivity extends Activity {
EditText Number1;
EditText Number2;
Button calc;
TextView output;
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    Number1 = (EditText) findViewById(R.id.Number1);
    Number2 = (EditText) findViewById(R.id.Number2);
    calc = (Button) findViewById(R.id.calc);
    output = (TextView) findViewById(R.id.output);
}

public void doCalc (View view) {
    double intNum1 = Double.parseDouble(Number1.getText().toString());
    double intNum2 = Double.parseDouble(Number2.getText().toString());
    double mOutput = (intNum1*intNum2);
    output.setText("Output" + mOutput);
}
</code></pre>

<p>}</p>

<p>I am quite new to java having mostly done some perl scripting so any help is much appreciated.</p>
