A simple dialog containing an DatePicker.
This will declare a new DatePickerDialog object.
1. Add the import below to the import section of the MainActivity.java file.
import android.app.DatePickerDialog;
DatePickerDialog myDatePickerDialog;
3. Compile and run!
Next Recommended Article: How to Instantiate a DatePickerDialog object
Resources:
http://developer.android.com/reference/android/app/DatePickerDialog.html