How can we get a list/array of dates for a selected month and year example: August, 2012. So that a user can select a particular date of that month in android. Also what is the efficient way to store date(eg. 01-05-2012) in android sqlite database so that it can be later compare easily.
Thanks alot for the concern.
For your sqlite database, use a column that is of the type DATETIME
See this for more on DATETIME: http://www.sqlite.org/datatype3.html
You should also create an array of date objects so that you can do comparisons etc:
For the date selection you can use the DateSlider framework.
Fancy design and highly customizable:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.