Code example for DatePicker

0
		return view;
	} 
 
	@Override 
	protected View onCreateDialogView() {
		this.dp = new DatePicker(this.getContext());
		this.updateDialog();
		return this.dp;
	} 
 
	/** 
	 * Set date and time as unix time stamp. 
	 *  
	 * @param time 
	 *            time stamp 
	 */ 
	public void setValue(final long time) {
		this.v.setTimeInMillis(time);
		if (!this.sh) {
			this.setSummary(this.getContext().getString(R.string.value) + ": "
Connect your IDE to all the code out there  Get Codota for Java