对应用程序的升级prevent数据丢失应用程序、数据丢失、prevent

2023-09-06 23:18:21 作者:喜上眉梢

我们已经开发了一个Android应用程序,并推动新的设备和放大器;通过MDM更新(移动设备管理,技工机构牧高笛控制)。发送的更新,默默的升级,而无需用户的确认程序。由于这一点,如果应用程序是在由用户使用时,将自动停止,升级&安培;从年初开始,因此用户失去他们,他们是想发送给服务器的重要变化。

We have developed an Android application and pushing the new installations & updates through MDM (Mobile Device Management, Soti Mobi control). The update sent, silently upgrades the application without user's confirmation. Due to this, if application is in use by the users, is automatically stopped, upgraded & started from the beginning and thus users loose their important changes which they were suppose to send to server.

是否有可能在MOBI控制配置并提示用户更新(类似于是什么原因,当我们手动升级到新版本的APK)?

Is it possible in the mobi control to configure an update with a prompt to the user (similar to what it comes when we manually upgrade to the newer versions' APK)?

我可以覆盖任何这将是对升级事件引起的生命周期方法,并且如果有用户的变化,我想中止更新?

Can I override any life cycle method which would be invoked on upgrade event, and if users' changes available I would like to abort the update?

推荐答案

Android的MDM协议(所谓的设备管理)没有API的安装/卸载/升级应用程序。

Android MDM protocol (called Device Admin) doesn't have API to install/uninstall/upgrade applications.

所以,推升级不建了Android的功能,而是技工机构Mobicontrol应用程序的功能。我认为,这是有意义的这个问题与他们联系。

So, pushing an upgrade isn't build-in Android feature, but rather a feature of Soti Mobicontrol application. I think, it make sense to contact them with this question.