Android. The update's off the service.



  • There's an app that includes the service. If we update the app, the service will shut down. Is it possible to make the service shut down?



  • No, but you can capture the time of completion of the update and reset the service. That's what you're saying. BroadcastReceiver for ACTION_PACKAGE_REPLACED In the manifest. Or on API state= 12- ACTION_MY_PACKAGE_REPLACED


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2