androidcustom-datetimepicker

How to pick a second using TimePicker, android


I have used TimePicker to make the user to choose time see here and here also. But I didnot find a way to make the user to select second also. Now user can select Hour and Minute but not second. If I want to set a time for 02:05:10 then what I have to do? How to pick a second using TimePicker?


Solution

  • I think the best solution is to create your own TimePicker, by using the Time-class and three NumberPickers.