0

(Thu, 24 Oct 2013 17:30:50 GMT) で繰り返しアラームを設定していますstartInMillis=1383240650が、予定どおりに実行されますが、一度だけ実行され、二度と繰り返されません。私の意図は 7 日間隔で実行することだったので、次の発生は (Thu, 31 Oct 2013 17:30:50 GMT) に行われるはずでしたが、そうではありませんでした。

PendingIntent pendingIntent = PendingIntent.getService(this, randomInt, startIntent,PendingIntent.FLAG_UPDATE_CURRENT);
mAlarmManager.setRepeating(AlarmManager.RTC_WAKEUP, startInMillis, (AlarmManager.INTERVAL_DAY * 7), pendingIntent);
4

0 に答える 0