I need some code to be executed only on a certain date. If I get the date from the system the user can cheat by changing the date in the settings. How can I get the current date from the network to avoid that?
EDIT Usage I need:
Btn.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
vib.vibrate(50);
if (*DATE IS 10.12*){
my method()
}else
showDialog()
});