块/解锁从我的应用程序的应用程序:Android的

问题描述:

我要阻止/解除阻止从我的应用程序(如用户不能使用/访问阻止应用程序)的一些应用程序在Android设备。但是,我找不到任何解决方案/知道关于这一点。

I want to block/unblock (where user can not use/access the blocked application) some application in an android device from my application. But I couldn't find any solution/ idea about this.

我读Android如何以编程方式隐藏启动图标,但这个隐藏同一应用程序的应用程序启动器图标。

I read Android how to programmatically hide launcher icon, but this hide the application launcher icon of same application.

我怎样才能做到这一点?请分享一下这方面的一些想法/链接。

How can I do this? Please share some idea/links about this.

如果不植根Android操作系统的手机上,你将无法阻止其他应用程序。操作系统不放弃权利这样做。 Android的运行于Linux,Linux提供了沙盒系统调用API和规定的规则。

If Android OS on the phone is not rooted you won't be able to block another application. Os doesn't give rights to do that. Android runs on Linux, Linux provides sandbox system call API and dictates rules.

http://developer.android.com/guide/topics/security/ permissions.html

基本上你可以做什么,也无法完成。截取通话的,通过设备管理经理块摄像头,读取其他应用程序的数据,如果它们共享这些数据,只有他们分享,使用一些公共资源,但不超过这一点。做你想做的事你的应用程序有什么必须有一个根源,但标准的第三方应用程序没有获得root权限。您的解决方案可以改变固件,您的应用程序绑定到它具有root权限。

Basically you can do what is allowed to do. Intercept call's, block camera via device admin manager, read data of another apps if they share that data and only what they share, use some common resources, but not more than that. To do what you want to do your app has to be a root, but standard third party apps don't get root privileges. Your solution can be to change firmware, bind your app into it with root privileges.