On Thu, Jul 26, 2012 at 10:30 PM, Jagadeesh <mjagadeeshb...@gmail.com>wrote:

> i have tried to future dates to disable
>

That's not really coherent English.


>  ,in my code using 2.3 ginger bird version in api 9 datepicker disable
> future dates its not there.
>

What is a "ginger bird"? What is "disable future dates"?


> now i have tried useing 4.0 version , i have done searching i got this but
> i have tried to implementing this in my code not able to fix
>
>
> http://stackoverflow.com/questions/6116920/disable-future-dates-in-android-date-picker
>
> how to resolve this can any one help .how to  disable future dates ,not
> beyond current date,month and year.
>

If you're trying to prevent the user from selecting a specific range of
dates, you can probably handle the date selection event and then cap it to
the max allowed time, showing the user a toast or warning dialog that such
restriction exists.

-------------------------------------------------------------------------------------------------
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to