对应用程序的升级prevent数据丢失 [英] Prevent data loss on app upgrade

查看:182
本文介绍了对应用程序的升级prevent数据丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经开发了一个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.

这篇关于对应用程序的升级prevent数据丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆