私は、おそらく、非常に些細なことで立ち往生しています。基本的に私は将来の特定の瞬間にアラームをスケジュールしています:
Intent contentIntent = new Intent(this, AlarmReceiver.class);
PendingIntent theappIntent = PendingIntent.getService(Main.this, 0,contentIntent, 0);
Calendar calendar = Calendar.getInstance();
calendar.set(year, month, day, hour,minute);
AlarmManager am = (AlarmManager) getSystemService(ALARM_SERVICE);
am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), theappIntent);
モバイルが常にオンになっている間は正常に動作します。私の問題は、モバイルが再起動され、予想される時間にオンになった後、アラームがトリガーされないことです。見逃したことはありますか?再起動後にアラームをスケジュールし続けるために、追加の作業を行う必要がありますか?