0

I have an app which books only between a certain period of time in the day. If user changes the Device time then he will able to book even after the time is gone.

Please Help me...

Akshat Patni
  • 161
  • 1
  • 4
  • 10
  • Get Time from web service... like [this time api](http://www.timeapi.org/utc/now). Without internet, you will not found any safe solution – AxelH Dec 27 '16 at 14:51
  • I presume that application uses internet communication? – Jure Dec 27 '16 at 14:52
  • If bookings are stored on your server, add extra validation for booking time on the server side. – KgaboL Dec 27 '16 at 14:54
  • @AxelH HOW TO USE TIME API, in java – Akshat Patni Dec 27 '16 at 15:05
  • This is a simple webservice, just need to use a HttpUrlConnection in Java to call the url, just do some research about this. (you will need the internet permission). – AxelH Dec 27 '16 at 15:06

0 Answers0