Blackberry: Kill an application

2019-02-28 09:13发布

问题:

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.

回答1:

call this method to kill a UiApplication....

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


回答2:

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