I have a DatePicker in my app.I need to get the values of the date that are selected???
for example:
dateDisplay=(EditText)findViewById(R.id.date);
As we do in normal edittext like:
final EditText Name = (EditText) this.findViewById(R.id.nametext);
and we can cast the data of it by using `Name.getText().toString()`
So similarly how can we get the values of date picker to a string?