How does Date Picker and Time Picker work in android Studio?

0

I'm developing a query-marking app and it seems to me that these two methods are pretty good. However, I would like to know if by implementing both methods in android studio, the admin can see the date and time that the user tagged.

    
asked by anonymous 13.03.2017 / 01:07

1 answer

1

Android provides some controls to choose time or even a specific date as ready-to-use dialog boxes. Each picker provides controls to select each part of the time ( hour, minute, AM / PM ) or date ( month, day, year ). Using these scanners helps ensure that users can choose a valid date, time, formatted correctly, and adjusted to the user's language.

In this way, DatePicker allows you to select the date that consists of day, month and year in its interface, and TimePicker consists in selecting a time that consists of hour and minute .

Below is an image that illustrates how the following components are shown to the user, remembering that for each version of Android, it can be shown in a way depending on the theme. See:

Seehow create a DatePicker and a TimePicher in the documentation itself.

  

However, I would like to know if implementing the two methods in   android studio, admin can see the date and time the user   scored.

If you correctly send the dates to your database, if it's a database, admin will see if you give him permission to see, but there goes your creativity, which in this case would no longer have anything to do with DatePicker and TimePicker .

    
13.03.2017 / 03:50