title: TimePicker widget not getting current time
body: <p>This question is about TimePicker behavior in Android.</p>
  
  <p>To get the value of the Hour and the Minute I use getCurrentHour() and getCurrentMinute().</p>
  
  <p>At first I found out that changes made by the user using the phone keyboard where not registered so calling getCurrentHour() or getCurrentMinute() did not show the values changed in the texboxes inside the widget.
  This was quickly solved using setAddStatesFromChildren(true); With this I get those changes.</p>
  
  <p>Now, my problem is that those changes are only registered if timepicker looses focus.
  So, getting the value from timepicker inside a button gets a wrong value because it hasn't loose focus.
  Any help?</p>
  
  <p>What I need is: Can I force a timepicker to loose focus and get the real written value in text boxes?</p>