title: Validate date picker dialog for birthday
body: <pre><code>public void onClick(View view) {
      Calendar c = Calendar.getInstance();
  
      int cyear = c.get(Calendar.YEAR);
      int cmonth = c.get(Calendar.MONTH);
      int cday = c.get(Calendar.DAY_OF_MONTH);        
      DatePickerDialog dialog = new DatePickerDialog(Students.this,new OnDateSetListener() {
  
          public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) {
  
              String date_selected = String.valueOf(dayOfMonth)+" /"+String.valueOf(monthOfYear+1)+" /"+String.valueOf(year);
              dateFieldTextBox.setText(date_selected);
              //                              CampusNewsISActivity.showLog("dateFieldTextBox selected");
          }
      },cyear,cmonth,cday);
      //          dialog.setCancelable(false);
      dialog.show();
  }
  </code></pre>
  
  <p>want to validate datepickerdialof for bday ie. it should not accept birthdate before 1st jan 1985</p>