Code example for TimePicker

Methods: setCurrentHoursetCurrentMinute

0
			activityUtils.getCurrentActivity(false).runOnUiThread(new Runnable()
			{ 
				public void run() 
				{ 
					try{ 
						timePicker.setCurrentHour(hour);
						timePicker.setCurrentMinute(minute);
					}catch (Exception ignored){}
				} 
			}); 
		} 
	} 
	 
 
	/** 
	 * Sets the progress of a given {@link ProgressBar}. Examples are SeekBar and RatingBar. 
	 * @param progressBar the {@code ProgressBar} 
	 * @param progress the progress that the {@code ProgressBar} should be set to 
	 */ 
 
	public void setProgressBar(final ProgressBar progressBar,final int progress) {