Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
zaeem
Posts: 8
Registered: ‎08-23-2008
My Device: Not Specified

how to terminate a process

how can we terminate a running process. is there a way to kill it by its processId

thanks

Please use plain text.
Developer
rafo
Posts: 507
Registered: ‎07-15-2008
My Device: Not Specified

Re: how to terminate a process

To terminate a thread process just call "return" inside of "run()" method
----------------
if your issue solved set "Solution" mark at the relevant post
Please use plain text.
New Developer
zaeem
Posts: 8
Registered: ‎08-23-2008
My Device: Not Specified

Re: how to terminate a process

Thanks for reply. 

Actually I want to terminate Browser from my app. I can Lunch it (using browsweSession.displayPage(URL) ) but unable to terminate it. any hint ?

 

Please use plain text.
Developer
rafo
Posts: 507
Registered: ‎07-15-2008
My Device: Not Specified

Re: how to terminate a process

As far as I know it is not possible to take control over started Blackberry Browser process.

 

If you wish to "combine" your app and Blackberry Browser add extra menu item to the Blackberry Browser menu.

 

The mechanism of adding extra menu items to the standard BB applications is described in Blackberry Developer Guide.

 

You may download it here

----------------
if your issue solved set "Solution" mark at the relevant post
Please use plain text.