Change the internal time of the Android simulator

I am creating an Android application that makes extensive use of the time and date functions in android, including the many uses of AlarmManager. However, for testing, it is very painful to change the Windows system clock to check some functions.

Is there a way to change the clock on the emulator so that he thinks about it another day?

+4
source share
1 answer

Just do it like in a regular handset:

Settings β†’ Date and time, then turn off Automatically and set the date and time

+5
source

Source: https://habr.com/ru/post/1342169/


All Articles