I am facing one issue, i am using time picker to display hours and minutes, User can change the Hours and minutes value upon taping on the hours and minutes field so it will open android keypad to enter new value of hours and minutes but what I observed that sometimes hours value updated properly and sometimes minutes value but at a time only one value is coming properly and other value is 0. I am using timepicker.getCurrenrHour() and getCurrentMinute() methods to get the updated value , but both value are not coming properly.
Please help me to resolve this issue.
Regards,
Amit
Use this code :