密码保护系统应用软件Android [英] Password protect system application android

查看:121
本文介绍了密码保护系统应用软件Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户试图启动一个应用程序,我想用晚餐preSS该应用程序,然后调用其他应用程序。例如,我希望用户打开特定系统应用(应用程序设置等)之前,自己进行身份验证。验证应用程序每次要弹出用户启动应用程序的设置。

When a user tries to launch an application I want to suppress that application and then call another application. Example I want the user to authenticate himself before launching a particular system application (settings application etc). The authentication application should pop up every time the user launches the settings application

我知道你将不得不使用广播接收机和意图,但不知道如何做到这一点。

I know you will have to use broadcast receivers and intents but have no clue how to do it.

推荐答案

听起来像是你应该创建一个lib目录的项目,有可以使用的公共接口。
然后,应用程序之间共享,而不是试图执行另一个应用程序?

Sounds like you should create a "lib" project that have public interfaces that you can use. Then share them between the apps instead of trying to execute another app?

但我知道这是不可能的实际执行了另一个应用程序,因为这然后给出了依赖的东西,如果安装了它,你不知道。它必须已经启动,如果意图应该工作。

But what I know this is not possible to actually execute up another app, since this then gives dependency to something that you don't know if it is installed. It must already been started if the intents should work.

另外像以前一样的答案,它可以用于滥用。

Also like the answer before, it could be used for abuse.

看这个链接了解更多信息:
http://mylifewithandroid.blogspot.com/2007/12/playing-with -intents.html

Look at this link for more information: http://mylifewithandroid.blogspot.com/2007/12/playing-with-intents.html

这篇关于密码保护系统应用软件Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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