title: Set current date in DatePicker
body: <p>I want to set current date and then I still select date before current date and after current date. </p>
  
  <pre><code>c = Calendar.getInstance();
  year = c.get(Calendar.YEAR);
  month = c.get(Calendar.MONTH);
  day = c.get(Calendar.DAY_OF_MONTH);
  
  datePicker = new DatePickerDialog(view.getContext(), new DatePickerDialog.OnDateSetListener() {
      @Override
      public void onDateSet(DatePicker view, int year, int month, int day) {
          daynum = (TextView) getActivity().findViewById(R.id.daynum);
          daynum.setText(view.getDayOfMonth()+ "-" + (view.getMonth()+1)+ "-" + view.getYear());
          new ReadJSON().execute("url"+"day=" + view.getDayOfMonth() + "&amp;" + "month=" + (view.getMonth()+1) + "&amp;" + "year=" + view.getYear());
          new ReadJSON1().execute("url" + "day=" + view.getDayOfMonth() + "&amp;" + "month=" + (view.getMonth()+1) + "&amp;" + "year=" + view.getYear());
      }
  }, day, month, year);
  datePicker.getDatePicker().setMinDate(c.getTimeInMillis());
  datePicker.setTitle("Select Date");
  datePicker.show();
  </code></pre>