gpt4 book ai didi

android - 使用 OTA 更新安卓应用程序

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:01:27 24 4
gpt4 key购买 nike

我有自己的应用程序商店,其中托管了所有 Android 应用程序。修改了一些应用程序。那么我如何使用 OTA 向客户/用户发送更新。因此,客户将了解新的更新,他将能够下载它。

最佳答案

HN 上找到了一个有趣的解决方案一个月前。这与直接更新客户端上的应用程序相关,无需任何用户交互。由于您拥有自己的应用商店,因此应该不会遇到 HN 中列出的任何问题。线程。

来自网站的解决方案工作 fragment -

...intercepts all calls to startActivityForResult, getResources, and some other functions. When you try to start an activity, Evolve generates a dummy class and sets its superclass to the activity you want to start.

...dynamically generates the bytecode for a new class

...then changes the intent to start the appropriate class

这仍处于 alpha 模式,因此您需要付出一些努力才能集成。

解决方案链接 - http://blog.vivekpanyam.com/evolve-seamlessly-deploy-android-apps-to-users

假设这就是您所期望的,希望这对您有所帮助!

关于android - 使用 OTA 更新安卓应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22527685/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com