whatever i do, service does not start if the phone is sleeping (if the user has closed the screen by pressing the power button). any help will be appreciated.
i develop an alarm application. for example, say alarm is set to 15:15. if phone is awake (even if the app is closed or paused) alarm fires. but if the phone is sleeping, it does not. if i wake the phone by pressing power button, alarm fires, even if the time is 15:17 for example. how can i set the service to start at the given time, wake the phone, play the alarm and display the app?