TimePicker Dialog retrieves onCreate time, not current time if activity remains open it wont change … I am wanting the dialog to always show current time not just when the activity started. i am currently using the following in the onCreate:
final Calendar onscene = Calendar.getInstance();
buildingfireonsceneHour = onscene.get(Calendar.HOUR_OF_DAY);
buildingfireonsceneMinute = onscene.get(Calendar.MINUTE);
Pass the updateTimer() function the current time just before you open the dialog, for example:
** Addition **
I believe you want to override the onPrepareDialog() function like this: