5
Android AlarmManager - RTC_WAKEUP kontra ELAPSED_REALTIME_WAKEUP
Czy ktoś może mi wyjaśnić różnicę między AlarmManager.RTC_WAKEUPiAlarmManager.ELAPSED_REALTIME_WAKEUP ? Przeczytałem dokumentację, ale nadal nie do końca rozumiem konsekwencje używania jednego nad drugim. Przykładowy kod: alarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, scheduledAlarmTime, pendingIntent); alarmManager.set(AlarmManager.RTC_WAKEUP, scheduledAlarmTime, pendingIntent); Jak różne będą dwie linie kodu wykonane? Kiedy te dwa wiersze kodu zostaną wykonane względem siebie? Doceniam twoją pomoc.