Android : start intent in setOnClickListener
- by Derek
I have a button, and this button is going to get the values from EditText, then using this value to start a new Intent
protected void onCreate(Bundle savedInstanceState)
{
textDay = (EditText) findViewById(R.id.textDay);
textMonth = (EditText) findViewById(R.id.textMonth);
textYear = (EditText) findViewById(R.id.textYear);
gen =…