如何更改安装更新对话框消息文本 [英] how to change install an update dialog message text

查看:141
本文介绍了如何更改安装更新对话框消息文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序有一个新的提升
我在我的新的应用程序版本下载到SD卡上,并通过

in my app there is a new upgrade I download my new app version to the sd card and open the apk file by

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(oFile), "application/vnd.android.package-archive");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
oActivity.startActivity(intent); 

code座。
我想改变在对话框中的消息

图像

推荐答案

您所呼叫正好与你的意图,那做的工作的一个活动。这个特定的活动具有图中所示的特定布局。您可以具有相同意图开始一项活动,看起来不同。不过,新的活动不会做必要的工作,以安装APK文件。

You're calling exactly that one Activity with your Intent, that does the work. This particular Activity has the particular layout shown in the image. You can have an Activity that starts with the same Intent and that looks different. Nevertheless, the new Activity wouldn't do the work necessary to install the apk-file.

这是所有关于照顾,没有应用程序可以绕过处理的权利和需要得到授权用户和其他人(尤其是没有应用程序)

It's all about taking care, that no App can bypass the rights handling and needs to get rights granted by the user and nobody else (especially no App)

在短:不,不可能的。

这篇关于如何更改安装更新对话框消息文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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