6
I need to detect in my application when user changes system time manually. How do I do this?
For example:
If user restarts the device I can detect this event with on my Broadcast receiver so:
if ("android.intent.action.BOOT_COMPLETED".equals(intent.getAction())) {
Intent pushIntent = new Intent(context, Service.class);
context.startService(pushIntent);
}
Now how do I detect time change.
just take the device time and the internet time , after that just compare
– Walter Felipe