I've made a program, which uses broadcastreceiver to create an alarm (which is activated after several days).
When the time comes, it is supposed to play a notification.
I've tried setting the time to few minutes, hours and the notification always plays.
However in real life testing when the time was over one day the notification doesn't work.
Is there a limit to which Broadcast receivers can be set to in the future?
Here is my code: [http://pastebin.com/JnxVExtK]
Let's say today is Sunday 5:00. If I set the alarm at Sunday 7:09 - It will ring.
But if I set the alarm for Wednesday at 3:00 - it won't work.
And obviously I cannot set the emulator for such long period.
I've been trying the program on my tablet and there too the notification fails to show up if the alarm is set to ring after few days.