This may be useful (first hit from 'java interrupt thread'): http://articles.techrepublic.com.com/5100-10878_11-5144546.html
jason On Sun, Oct 19, 2008 at 7:58 PM, Wesley <[EMAIL PROTECTED]> wrote: > hi, > > how to terminate a threads??? any example??? > how to free all resources??? > > do u mind give me some example???? a simple one will do... > > thanks... > > > > wesley. > > > On Mon, Oct 20, 2008 at 10:51 AM, Romain Guy <[EMAIL PROTECTED]> wrote: > >> >> You should free all resources and terminate all your threads when you >> Activity stops or is destroyed (in onDestroy().) >> >> On Sun, Oct 19, 2008 at 7:50 PM, Wesley <[EMAIL PROTECTED]> wrote: >> > oic... because I afraid if some of my thread still running at the >> > background... and I can't manage to allocate it... >> > if this is the case... I think I should move on... >> > >> > thanks Romain... >> > >> > have a nice day... >> > >> > >> > Wesley. >> > >> > On Mon, Oct 20, 2008 at 10:37 AM, Romain Guy <[EMAIL PROTECTED]> >> wrote: >> >> >> >> It is normal. finish() does not necessarily destroy the process. >> >> Android manages processes automatically and destroy processes whenever >> >> more resources are need. Just don't worry about it :) >> >> >> >> On Sun, Oct 19, 2008 at 7:33 PM, Wesley Sagittarius < >> [EMAIL PROTECTED]> >> >> wrote: >> >> > >> >> > hi, >> >> > >> >> > I don't know is it a issue or not??? >> >> > >> >> > when I this.finish() method was call... logically, it will exist the >> >> > process and remove in the process list right??? >> >> > >> >> > but when I got to check the process in the devices... my program seem >> >> > that still there wo???? is it normal??? >> >> > >> >> > any one have any idea on it??? >> >> > >> >> > >> >> > Wesley. >> >> > > >> >> > >> >> >> >> >> >> >> >> -- >> >> Romain Guy >> >> www.curious-creature.org >> >> >> >> >> > >> > >> > > >> > >> >> >> >> -- >> Romain Guy >> www.curious-creature.org >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---