Code example for DatePickerDialog

Methods: show

0
		dialog = new DatePickerDialog(this, callBack, c.get(Calendar.YEAR),
				c.get(Calendar.MONTH), c.get(Calendar.DATE));//´´½¨ ÉèÖà ÈÕÆÚ ¶Ô»°¿ò£¬²¢ÇÒ ³õʼ»¯Îªµ±Ç°ÈÕÀúʱ¼ä£¬µ± µã»÷ ¶Ô»°¿òÀïµÄset°´Å¥Ê±£¬¾Í»á »Øµ÷callBackÀ࣬²¢ÇÒ°Ñ ¶Ô»°¿òÀïµÄʱ¼ä ÉèÖÃΪ µ±Ç°ÏµÍ³Ê±¼ä£»
	} 
 
	public void doClick(View v) {
		dialog.show();
	} 
 
	/** Called when the activity is first created. */ 
	@Override 
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		setupView(); 
	} 
}