I have a task to develop the android application with local push notification. I have also developed the application for that but some times when the user device is in sleep mode it can’t notifying on the user device.
Is their any code to execute the application and notify me while my device is in sleep mode.Please provide any example or source for it.
You’re probably should be acquiring a wake lock, like so :
ACQUIRE_CAUSES_WAKEUP