up vote6down votefavorite1
I have a date picker and a time picker in my app. Can anyone tell me how to get the values of the date and time that are selected??? What i mean to say is, for EditText we can declare as 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 and time picker to a string???androidshare|improve this questionedited Apr 7 '10 at 13:09Daniel Lew