Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教大神,如何监听插件已经启动和退出 #77

Open
songyong opened this issue Nov 20, 2015 · 1 comment
Open

请教大神,如何监听插件已经启动和退出 #77

songyong opened this issue Nov 20, 2015 · 1 comment
Labels

Comments

@songyong
Copy link

请教大神,如何监听插件已经启动和退出

@cmzy cmzy added the question label Nov 20, 2015
@but455
Copy link

but455 commented Jun 20, 2016

宿主可以监听 插件进程
ActivityManager manager = (ActivityManager)context.getSystemService(Context.ACTIVITY_SERVICE);
// 获得手机进程列表
List<ActivityManager.RunningAppProcessInfo> infos = manager.getRunningAppProcesses();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants