+3 votes
asked in Programming by

I searched in the cloud as selecting a date range but I have not gotten response
my question is can select a range of dates in android?

1 Answer

+4 votes
answered by (140k points)

to do what you propose can either use a pair of DatePicker or SeekBar. You also have the View calendar where you could select days. The options are many.

commented by
Hi I wonder if you can consult a range of dates from SQLite for android, How is the handling of dates in Android-Sqlite ?, What should I consider? Some simply store the date in TEXT format YYYY-MM-form DD HH: MM: SS however if I want to make a query date range one TEXT not serve you? I would like to clarify my doubts, thanks
commented by

SQLITE unfortunately limited to simple variables (String, int, etc). To save a date recommend using the integer format and pick up the Linux time (if you use Calendar can use getTimeInMillis () to get the Linux time, take a look at http://developer.android.com/reference/java/util/Calendar.html ). Java then you transform the Linux time in the date format you want.
Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.