D
D
daryaG2017-03-01 09:36:11
Android
daryaG, 2017-03-01 09:36:11

Why doesn't the alarm go off in the Android app?

In the application, you need to build in an alarm clock, they did it, but it only works when the application is in memory, as soon as we unload it, the alarm clock does not work. How to solve the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Melnikov, 2017-03-09
@almel

Hello
If the problem is on Android 6 and higher, then it might be worth looking at doze and wakelock
https://developer.android.com/reference/android/os...
https://m.habrahabr.ru/post/269491/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question