开发者

Foreground App Close with Process ID: Blackberry [duplicate]

开发者 https://www.devze.com 2023-04-13 05:31 出处:网络
This question already has answers here: Closed 11 years ago. Want to close the third party application which are only in foregroundby its processID not th开发者_如何学编程e super apps. Is there
This question already has answers here: Closed 11 years ago.

Want to close the third party application which are only in foreground by its processID not th开发者_如何学编程e super apps. Is there is any API to do that.

There is a way you can kill your app by System.exit(0);

Thanks in advance.


You cannot do this. API's provide you with control to your application only not to other apps. You can invoke another application but you cannot control it, exit or request background and foreground to it.

0

精彩评论

暂无评论...
验证码 换一张
取 消