Android 中的家长控制
如何在我的应用程序中实现家长控制,即当我的应用程序启动时,所有其他应用程序应该停止运行。 请帮助我。
How to implement parental control in my application i.e when my application starts, all the other applications should stop running.
plz help me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,这是可能的。检索正在运行的进程的名称及其 UID,然后终止那些您想要停止的进程。例如,如果您想停止浏览器应用程序,您可以通过这种方式执行此操作。
Yes it is possible.Retrieve the name of running processes and their UIDs and then kill those processes which you want to stop.e.g If u want to stop browser app you can do this in this way.