On Fri, Jun 22, 2012 at 1:29 PM, Justin Robinson <[email protected]>wrote:

> Is this thread killed after 10 secs along with the broadcast receiver or
> do I need to kill it manually?


I don't know about "after 10 secs" (not sure where you got that number, but
yes, once the Thread is done executing, the system takes care of it. I'm
not even sure how you would "kill it manually".

Besides that, the use of your thread in your snippet is quite useless. Your
two lines of code don't need to run in a separate thread.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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

Reply via email to