If there's a reason to do this asynchronously, you should do it with an AsyncTask. On the other hand, I'm with Justin wondering why you want it done asynchronously, at all...
G. Blake Meike Marakana The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do On Friday, June 22, 2012 11:29:04 AM UTC-7, Justin Robinson wrote: > > Every 30 seconds my broadcast receiver starts a service thread like this: > > Thread t = new Thread(){ > @Override > public void run(){ > Intent intent = new Intent(context, AlarmService.class); > context.startService(intent); > } > }; > t.start(); > > Is this thread killed after 10 secs along with the broadcast receiver or > do I need to kill it manually? > -- 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