안드로이드 개발 질문/답변
(글 수 45,052)
알람매니저를 사용하여 앱을 만들려고 하고 있습니다.
보니까
| int | ELAPSED_REALTIME | Alarm time in SystemClock.elapsedRealtime() (time since boot, including sleep). |
| int | ELAPSED_REALTIME_WAKEUP | Alarm time in SystemClock.elapsedRealtime() (time since boot, including sleep), which will wake up the device when it goes off. |
| int | RTC | Alarm time in System.currentTimeMillis() (wall clock time in UTC). |
| int | RTC_WAKEUP | Alarm time in System.currentTimeMillis() (wall clock time in UTC), which will wake up the device when it goes off. |
이렇게 4가지 변수가 있는데 무슨 기능인줄은 다 알고 있습니다.
질문은 WAKEUP이 붙은 걸 쓰면 기기가 깨어난다고 되어 있는데 왜
제 폰에서는 아무 반응도 없는 걸까요?
인터넷 검색해보니까 PowerManager로 하는 방식이 있던데 그 방식을 꼭 써야만 하나요?




sleep mode 일 때만 안된다는 말씀인가요?
RTC 를 사용했을 때 단말이 sleep mode 가 아닐때는 잘 되는지 부터 확인해 봐야 할것 같네요