English | Site Directory

Android - An Open Handset Alliance Project

android.app
public class

android.app.TimePickerDialog

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

A dialog that prompts the user for the time of day using a TimePicker.

Summary

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

Public Constructors

          TimePickerDialog(Context context, OnTimeSetListener callBack, String title, int hourOfDay, int minute, boolean is24HourView)
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 TimePickerDialog(Context context, OnTimeSetListener callBack, String title, int hourOfDay, int minute, boolean is24HourView)

Parameters

context Parent.
callBack How parent is notified.
title Title of the dialog.
hourOfDay The initial hour.
minute The initial minute.
is24HourView Whether this is a 24 hour view, or AM/PM.
Build m5-rc15g - 14 May 2008 12:50