在android中检测应用程序启动 [英] Detect application launch in android

查看:75
本文介绍了在android中检测应用程序启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我正在尝试开发一款可以检测应用启动的应用,许多应用如应用锁定,智能应用锁定等。



1用户点击联系app(例如)



2 - 我的应用程序检测到应用程序的启动



3-my应用程序确认它是联系应用程序



4-我的应用程序打开顶部视图,要求输入密码



5用户输入密码,如果正确,我的应用程序消失,将联系人应用程序保留在顶部

Hi I'm trying to develop an app that detect app launch, many app like app lock, smart app lock e.g

1-user clicks on "contact" app (for example)

2-my app detects launch of an app

3-my app confirms it is the "contact" app

4- my app opens a view over the top, asking for a password

5-user enters a password, if correct, my app disappears, leaving the "contact" app on top

推荐答案

这与此类似

http://stackoverflow.com/questions/ 3290936 / android-detect-when-other-apps-are-initiated [ ^ ]检查一次这可能会对您有所帮助。
This is similar as this
http://stackoverflow.com/questions/3290936/android-detect-when-other-apps-are-launched[^] check once this may help you .


这篇关于在android中检测应用程序启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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