Blackberry: Kill an application

旧城冷巷雨未停 提交于 2019-12-02 08:20:40

问题


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



来源:https://stackoverflow.com/questions/7684670/blackberry-kill-an-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!