How can I control the time a data was entered in the database - sqlLite Android

Asked

Viewed 15 times

0

I need to control the time a data is entered into the database, to do certain actions as a function of time.

I thought to make the difference between the current system time and the insertion time, but with this to a certain problem, if the user changes the time of your device the program will no longer work properly.

How can I control the hours, even the user changing the time of your device I can know how many hours was entered a data.

I saw that the Whatsapp states work the same way.

  • 1

    Picking up internet time? Even if the user changes device time, it will not affect the application

  • I think it is a good suggestion, how to do if the device is not connected to Internet?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.