开发者

Blackberry: Kill an application

开发者 https://www.devze.com 2023-04-11 22:26 出处:网络
I want to kill an running application in开发者_开发知识库 blackberry, just like as task manager. Is there is any way to do that or any API available?

I want to kill an running application in开发者_开发知识库 blackberry, just like as task manager. Is there is any way to do that or any API available?

Thanks in advance.


call this method to kill a UiApplication....

public void killApp() {
      System.exit(0);
}


As per other forums, below are the information I found. Try this if it helps you

First Way: you might have to just do a hard boot. take the battery out if all fails.

Second Way:

Stop a job that is running

 1. In the BlackBerry® Administration Service, on the Devices menu, expand Deployment jobs.
 2. Click Manage deployment jobs.
 3. Search for the job that you want to stop.
 4. In the search results, click the ID of the job that you want to stop. You can only stop jobs with a Running status.
 5. Click Stop Current Execution.
 6. Click Yes - Stop Current Execution.

Stopping a job that is running

0

精彩评论

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

关注公众号