1
Ups

Casting and getting values from date picker and time picker in android - Stack Overflow

published 291 days, 12 hours, 17 minutes ago posted by Rohit001Rohit001 292 days, 20 hours, 21 minutes ago
Tuesday, August 07, 2012 1:47:42 PM GMT Monday, August 06, 2012 5:44:05 AM GMT

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 2...

category: Android | clicked: 3 | | source: stackoverflow.com | show counter code
tags: Casting and getting values from date picker and time picker

No comments yet, be the first one to post comment.

To post your comment please login or signup