是否有可能隐藏用户特定的应用? [英] Is it possible to hide a particular application from user?

查看:122
本文介绍了是否有可能隐藏用户特定的应用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要创建一个列出所有我的设备上安装应用程序的应用。之后,我想将其设置为隐藏和显示与哪些其他用户无法能够看到特定的应用。
那么,这可能吗?
如果是,那么如何?

I want to create the application that lists all install applications in my device. And After that I want to set it as Hide and Show With which another User can not able to see that particular application. So is it possible ? If yes, then How?

推荐答案

是的,如果你不加你的主要活动在Android清单声明如下:

Yes, if you don't add the following in your main activity's declaration in android manifest:

<intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

通过这样做,你的应用程序将不会在发射列出,但将被安装。
然而,为了运行它,也许你可以在其清单注册的广播接收器,并使用其他应用程序发送的是由开始活动了(隐藏应用程序的)广播接收器接收到广播。

by doing so, your app will not be listed in launcher but will be installed. However, in order to run it, perhaps you may register a broadcast receiver in its manifest and use another application to send a broadcast which is received by its (hidden app's) broadcast receiver which starts the activity.

这篇关于是否有可能隐藏用户特定的应用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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