自动安装/从其他应用程序中卸载某个应用程序 [英] Automatically install/uninstall an application from within another application

查看:120
本文介绍了自动安装/从其他应用程序中卸载某个应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发Android设备管理服务。

一个为这个功能被指定哪些应用程序应该在服务上注册的设备进行安装。

该方案是一个经理将上传的企业应用服务对他的员工的Andr​​oid设备使用。

他然后要求部署的应用服务。该服务与设备上的pre-安装的应用程序进行通信。这个应用程序下载应用程序的企业然后安装它无需用户任何确认。

的这另一个要求是该用户是从安装或不安装应用程序本身pvented $ P $

我一直在寻找的android.app.admin方案,但政策的功能似乎有限。我还发现,它有可能donwnload的APK那么火的意图进行安装。然而,这需要来自用户的确认。

总之,是有可能从其他应用程序中未经任何用户的任何确认安装Android应用程序?


解决方案

没有。事实上,Android是设计的 prevent 的场景你描述。群聚在一起的几个要点的:

*应用程序都无需用户交互安装

*这些应用程序是由设备用户选择,而是通过远程经理
*用户没有能力卸载
说应用
*用户没有安装任何其他应用

的能力

有这个软件和恶意软件之间没有差异的技术。

然而,存在的替代方案,称为为Android ,这允许管理员(从页)谷歌Apps设备策略:


  

    

要求你有你的设备上输入PIN或密码。

    需要在设备上的复杂的密码。

    需要空闲超时屏幕锁定您的移动设备上。

    清除遗失或被盗的设备。


    此外,该应用程序使您能够远程的能力:

    重置PIN码

    环装置

    锁定设备

    找到你的设备。


  

它也有设施进行远程擦除设备。

I am developing an Android device management service.

One of the functions for this is specifying what apps should be installed on registered devices of the service.

The scenario is that a manager will upload an enterprise app to the service for use on his employees' Android devices.

He then asks the service to deploy the app. The service communicates with a pre-installed app on the devices. This app downloads the enterprise app then installs it without any confirmation from the user.

Another requirement of this is that the user is prevented from installing or un-installing applications themselves.

I have been looking at the android.app.admin package but the policy functionality seems limited. I have also discovered that it is possible to donwnload an APK then fire an intent to install it. However this needs confirmation from the user.

In short, is it possible to install an Android application from within another application without any confirmation from the user whatsoever?

解决方案

No. Actually, Android is designed to prevent the scenario you're describing. Bunching together several of your bullet points:
* Apps are installed without user interaction
* These apps are chosen not by the device user, but by a remote "manager"
* User has no ability to uninstall said apps
* User has no ability to install any other apps

There's no technical difference between this and malware.

However, there is an alternative, called Google Apps Device Policy for Android, which allows the Administrator to (from the page):

Require that you have a PIN or password on your device.
Require a complex password on your device.
Require a screen lock for idle timeout on your mobile device.
Wipe a lost or stolen device.

Additionally, this application gives you the ability to remotely:
Reset PIN
Ring Device
Lock Device
Locate your device

It also has facilities for remote wiping a device.

这篇关于自动安装/从其他应用程序中卸载某个应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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