BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-23-2008, 02:38 AM   #1 (permalink)
New Member
 
Join Date: Mar 2008
Model: 8120
PIN: N/A
Carrier: indego
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default terminating a process

Please Login to Remove!

how can we terminate a running process.

is there a way to kill it by its processId

thanks
Offline  
Old 08-23-2008, 11:09 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

I don't think there is a "kill process" method, but assuming that you have control of the source code of the program to be terminated, you can fake it by sending a global event to the program. The program could implement GlobalEventListener, get the "kill yourself" message,and perform an orderly shutdown.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.