Thursday, January 6, 2011

[android-developers] Re: How to set date in DatePickerDialog

Ohh in docs they clearly mention
public DatePickerDialog (Context context,
DatePickerDialog.OnDateSetListener callBack, int year, int
monthOfYear, int dayOfMonth)
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.


Thanks

On Jan 7, 9:19 am, TreKing <treking...@gmail.com> wrote:
> On Thu, Jan 6, 2011 at 9:31 PM, pramod.deore <deore.pramo...@gmail.com>wrote:
>
> > Is it possible when DatePickerDialog widget display it shows some other
> > date instead of current date?
>
> Try looking at the documentation.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate