Code example for TimePickerDialog

Methods: updateTime

0
			   break; 
		   } 
		   case DIALOG_TIMEPICKER: {
			   TimePickerDialog timePicker = (TimePickerDialog)d;
			   final Calendar calendar = Calendar.getInstance();
			   timePicker.updateTime(
					   calendar.get(Calendar.HOUR_OF_DAY),
					   calendar.get(Calendar.MINUTE));
		   	} 
			   break; 
			 
		    
		   default: 
			   break; 
		   } 
		    
	   } 
 
 
	       public void onDateSet(DatePicker view, int year, int month, int day) {
       /* Calendar c = Calendar.getInstance();