Hi, I've got users with the same problem with the same Samsung Moment Phone. The date can only be set from 2000 to 2090. If the user sets manually 1984, then when he'll go back in the DatePickerDialog, the date is 2098.
After a little search, it appears that the DatePicker widget have 2 attributes "startYear" and "endYear" that can be set as following to limit for example from 1900-2010 <DatePicker xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/datePicker" android:padding="5dip" android:layout_gravity="center_horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:startYear="1900" android:endYear="2010"/> But the DatePicker widget is not accessible from the DatePickerDialog and so, thoses values can not be set. So, as I was using DatePickerDialog, I have reimplement this class by using the original code and sets the attributes in the layout xml file as shown. Hope this help someone... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

