Code example for DatePickerDialog

0
    }//End updateDisplay 
      
    protected Dialog onCreateDialog(int id) {
        switch (id) {
        case DATE_DIALOG_ID:
            DatePickerDialog d = new DatePickerDialog(this,
                    mDateSetListener,
                    mYear, mMonth, mDay);
            return d;
        } 
        return null; 
    }//End onCreateDialog     
      
}//End RegistrationPage.java