I\'m writing my first app, and I have a question about DatePicker
.
My app requires the user to input a date. The most user-friendly way would be to popu
Is this type of functionality built into any android widget or view, or would I have to design my own custom > component to do this?
There is no component for that in the Android SDK, sorry. The widget you illustrate is too small for a touchscreen. You can implement something larger (see the Calendar app), but you are largely on your own for that.
Since the API 11 there natively: CalendarView
This View is in HoloEverywhere since API 7.
I have recently written exactly this as a modular app. Here is some sample code, documentation with screenshots, and .apk download.
you can use this lib for date selection
https://github.com/square/android-times-square/
what i found so far:
Found a good implemetation in http://caughtinthemobileweb.wordpress.com/2011/06/20/how-to-implement-calendarview-in-android/
Also Since API level 11 (Android 3.0) there has been the native implementation of the CalendarView http://developer.android.com/reference/android/widget/CalendarView.html