我修改我的应用程序包的名字,我可以卸载我的previous应用从我的用户在android系统? [英] I modified my app package name, can i uninstall my previous app from my users in android?
问题描述
我修改我的应用程序包名和更新的应用程序,现在,我希望我的用户有新的应用程序,而不是旧的。是否有可能,我可以卸载我的previous应用程序,同时安装这个新的应用程序或推动旧应用程序,它本身的卸载和安装新一个更新?
I modified my application package name and updated the application, Now I want my users to have the new application instead of old one. Is it possible that I can uninstall my previous application while installing this new application or to push a update for old application which uninstall itself and install new one?
由于我修改了包名,做了Android的默认的更新是否行得通呢?
Since I modified the package name, do the default update of android will work?
有一个人可以建议相同的最佳途径。我可以使用相同的密钥签署我的新的应用程序,我的情况下,用于其他。
Can some one suggest best way for the same. I can use the same key to sign my new app which i used for the other in case.
谢谢
Pranay
Thanks Pranay
推荐答案
您不能卸载应用程序编程。
You can not uninstall applications programmatically.
然而,这似乎是一个reasnoble的解决方案:
However this seems like a reasnoble solution:
- 把应用与市场上新的软件包的名称。
- 推送的更新,老包,其中应用程序启动时,显示一个对话框,要求用户进行升级,用一个按钮,将重定向到新的应用程序的市场上。
另外,你可以有2在一段时间内是可选的,然后逼用户一段时间后进行升级。
Alternatively, you could have 2 be optional for a period of time, and then "force" users to upgrade after a while.
这篇关于我修改我的应用程序包的名字,我可以卸载我的previous应用从我的用户在android系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!