I dont really see why this should not be able to be done with a spinner? You can add items to a spinner programmaticly, just calculate the 3 next days add them to the spinner?
You can easily get the date from the Calendar object and then use a ArrayAdapter to add your items. I found this link that shows how you can custom add the spinner items, seems for a older SDK, but i think the code hasnt changed that much. http://www.designerandroid.com/?p=8=1 On Aug 31, 6:05 am, Sasi Kumar <[email protected]> wrote: > I want only 3 days that should genarate automatically...... > Pls give some suggestion with example...... > > ex:- > > I want like > > 30/08/2009 > 31/08/2009 > 1/09/2009 > > we can't able to enter it manually b'coz the date and the month will > cahnge......... > > On Aug 29, 7:21 pm, "Balwinder Kaur (T-Mobile USA)" <balwinder.k...@t- > > > > mobile.com> wrote: > > How about just using a Spinner instead of a DatePicker ? > > Balwinder Kaur > > Open Source Development Center > > ·T· · ·Mobile· stick together > > > The views, opinions and statements in this email are those of the > > author solely in their individual capacity, and do not necessarily > > represent those of T-Mobile USA, Inc. > > > On Aug 29, 4:08 am, Sasi Kumar <[email protected]> wrote: > > > > I want a date picker with maximum of 3 days. > > > > i want like > > > > yesterday > > > today > > > tomorrow > > > > this 3 days only i want. > > > > any one can sugess some idea. > > > > please reply. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

