timepicker - Get time using time picker android -
how can time, set user on time picker widget in android ?
like this.
timepicker.gettime();
try below.
for picking hour can use
timepicker.getcurrenthour();
and picking minutes can use
timepicker.getcurrentminute();
and can set hour , minute integer variable. like
int hour = timepicker.getcurrenthour(); int minute = timepicker.getcurrentminute();
for more information can refer link
Comments
Post a Comment