In my application, I am setting Alarms and is working fine.when I am trying to install the code again without uninstalling the previous package my alarms are being deleted.I would like to restore my alarms until unless I delete alarms.
I have come across somewhere( Android - Alarm lost after app update ) saying that we should use android.intent.action.MY_PACKAGE_REPLACED in a receiver such that I could set alarms again when it is broadcasted.whereas this broadcast is not triggered everytime I do a re-run!
Please help me out with your valuable suggestions :)
Thanks in advance.