Code example for DatePicker

Methods: init

0
			tvDisplayDate.setText(new StringBuilder().append(month + 1) 
					.append("-").append(day).append("-").append(year) 
					.append(" ")); 
 
			// set selected date into datepicker also 
			dpResult.init(year, month, day, null); 
 
		} 
	}; 
 
}