Android application update - how to?

前端 未结 1 1888
面向向阳花
面向向阳花 2021-01-17 22:54

What is the best way to let my users perform an application update?

Is there any way to force device reboot after the update? I\'m asking this because my application

相关标签:
1条回答
  • 2021-01-17 23:21

    What is the best way to let my users perform an application update?

    Via the same way they got the app on their device in the first place, presumably. If they are getting the app via firmware, they get app updates via firmware updates. If they are downloading your app via your Web site, they get app updates via your Web site.

    Is there any way to force device reboot after the update?

    No, thank goodness.

    I'm asking this because my application registers some behavior on boot.

    There is some way you can be notified that your package was updated, though I do not have the technique handy right now. Just run your on-boot logic there for the first round, then subsequent reboots (if any) will be handled by the on-boot logic itself.

    0 讨论(0)
提交回复
热议问题