I’m following this tutorial: http://developer.android.com/resources/tutorials/views/hello-datepicker.html .
I have two EditText, and which one calls showDialog(0) that is the DatePickerDialog. How can I know which EditText called the showDialog? Because the updateDisplay (method in tutorial) doesn’t show how to do this!
On your OnClick method, you can get which view was clicked
Then, compare it to the id of your editTexts (the ids that you set on the xml file) and you will know which one was called