Code example for TimePickerDialog

Methods: setTitleshow

	private void openTimePickerDialog(boolean is24r) {
		Calendar calendar = Calendar.getInstance();
		timePickerDialog = new TimePickerDialog(AndroidTimeActivity.this,
				onTimeSetListener, calendar.get(Calendar.HOUR_OF_DAY),
				calendar.get(Calendar.MINUTE)+1, is24r);
		timePickerDialog.setTitle("Set Alarm Time");;
	OnTimeSetListener onTimeSetListener = new OnTimeSetListener() {
		public void onTimeSet(TimePicker view, int hourOfDay, int minute) { 
			Calendar calNow = Calendar.getInstance(); 
			Calendar calSet = (Calendar) calNow.clone(); 
Connect your IDE to all the code out there  Get Codota for Java