I have some alarms set through the AlarmManager to perform some periodic tasks. I set / reset them when the user opens the application for the first time and in every boot_complete event. But when the application is reinstalled via ADB, my alarms no longer work. it looks like the OS is removing alarms when you reinstall the application. I assume that this will happen if the user also updates the application from the market.
If I can get a broadcast or some kind of callback in case of reinstallation / update, etc. of my application, I can set alarms again. but I donβt know if this is possible or how? Can someone please help me.
source share