1. itscrazylife's Avatar
    Hello Guys,

    We are developing one application which deal with AlarmManager class. We schedule alarm and app wake up at specific time and do some stuff.

    It works fine when there is no restart or Switch on and Off on mobile. but all alarm get cleared when we restart or turn off and on the phone this is because the AlarmManager class it self says.

    Registered alarms are retained while the device is asleep (and can optionally wake the device up if they go off during that time), but will be cleared if it is turned off and rebooted.
    To solve this issue we have implemented custom logic which is below one:

    When restart or On and off occurs, at the boot complete event we fetching alarm from database and register/set them back so they can run as scheduled.

    we already give below two permissions:


    Now the problem is the custom login works well with many Samsung, Lenova, Intex and some other phones but some how the process that set back alarm after boot completion not executing on client's phone.

    client has ASUS and Samsung Galazxy S4!

    So any clue to fix this issue will be really helpful!

    Thanks in advance!!
    12-19-2015 09:20 AM

Similar Threads

  1. Replies: 4
    Last Post: 12-22-2015, 12:07 PM
  2. assigned ringtones return to default at power off
    By AC Question in forum Ask a Question
    Replies: 7
    Last Post: 12-19-2015, 10:10 AM
  3. Replies: 0
    Last Post: 12-19-2015, 08:52 AM
  4. Replies: 1
    Last Post: 12-19-2015, 08:17 AM
  5. How do I keep my gallery private on my Galaxy S4?
    By AC Question in forum Samsung Galaxy S4
    Replies: 1
    Last Post: 12-19-2015, 08:12 AM