0

我需要在 Android 上测试一个应用程序,作为活动计划的一部分,它将在未来发生的事件。我无权访问代码,也无法更改测试的输入数据(时间表),因此,我需要将时钟设置为未来某个日期,并查看是否触发了活动事件。

有什么方法可以强制设备上的时间?

4

2 回答 2

0

I found an option on the Eclair Emulator to change the date and time -- which is definitely NOT in my LG 670 device nor other Androids among my colleagues (mostly Jelly Bean or Ice Cream devices).

NOTE: I have not looked in the settings for other OS versions of emulators.

于 2013-09-23T19:34:24.900 回答
0

设置 > 日期和时间

然后取消选中“自动” - 这将允许您将日期设置为未来

于 2013-09-05T01:16:58.827 回答