English | Site Directory

Android - An Open Handset Alliance Project

android.app
public class

android.app.DatePickerDialog

java.lang.Object
android.app.Dialog DialogInterface KeyEvent.Callback Window.Callback
android.app.DatePickerDialog

A simple dialog containing an DatePicker.

Summary

Constants inherited from interface android.content.DialogInterface
Fields inherited from class android.app.Dialog

Public Constructors

          DatePickerDialog(Context context, OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth, int weekStartDay)
Methods inherited from class android.app.Dialog
Methods inherited from class java.lang.Object
Methods inherited from interface android.content.DialogInterface
Methods inherited from interface android.view.KeyEvent.Callback
Methods inherited from interface android.view.Window.Callback

Details

Public Constructors

public DatePickerDialog(Context context, OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth, int weekStartDay)

Parameters

context The context the dialog is to run in.
callBack How the parent is notified that the date is set.
year The initial year of the dialog.
monthOfYear The initial month of the dialog.
dayOfMonth The initial day of the dialog.
weekStartDay The day that the week starts using Calendar constants such as SUNDAY.
Build m5-rc15g - 14 May 2008 12:50