Am Mittwoch, 4. Juli 2012 06:31:54 UTC+2 schrieb TreKing:
>
> On Fri, Jun 22, 2012 at 1:29 PM, Justin Robinson 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".
>
I guess he means the "lifetime" of the BroadcastReceiver itself... 

>
> 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.
>
100% agree. 

>
>
> -------------------------------------------------------------------------------------------------
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to