BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
zaeem Offline
New Member
 
Posts: 14
Join Date: Mar 2008
Model: 8120
PIN: N/A
Carrier: indego
Default terminating a process - 08-23-2008, 03:38 AM

how can we terminate a running process.

is there a way to kill it by its processId

thanks
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
Dougsg38p Offline
Thumbs Must Hurt
 
Posts: 190
Join Date: Mar 2008
Location: Austin, TX
Model: 8320
PIN: N/A
Carrier: T-Mobile
Default 08-23-2008, 12:09 PM

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.
   
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On






Copyright © 2004-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1