hi I have a datepickerdialog but i´d like to change always one day before
DatePickerDialog.OnDateSetListener dini=new DatePickerDialog.OnDateSetListener() {
public void onDateSet(DatePicker view, int year, int monthOfYear,
int dayOfMonth) {
myInitialDate.set(Calendar.YEAR, year);
myInitialDate.set(Calendar.MONTH, monthOfYear);
myInitialDate.set(Calendar.DAY_OF_MONTH, dayOfMonth);
monthOfYear +=1; //fix month
}
};