[android-developers] sendBroadcast in IntentServicenot non-re-entrant?

2010-11-04 Thread Bret Foreman
I'm trying an experiment where an Activity makes a number of consecutive calls to an IntentService. Each call kicks off some background work that finishes in a few seconds. So there are multiple concurrent instances of the IntentService running. All the instances finish at around the same time and

Re: [android-developers] sendBroadcast in IntentServicenot non-re-entrant?

2010-11-04 Thread Kostya Vasilyev
Bret, You saying that there are multiple concurrent instances of the IntentService running is not entirely accurate. If you actually defined multiple services in Java / the manifest, my apologies. If you only defined one service, then there is only one instance of the service, and any

Re: [android-developers] sendBroadcast in IntentServicenot non-re-entrant?

2010-11-04 Thread Dianne Hackborn
On Thu, Nov 4, 2010 at 1:00 PM, Kostya Vasilyev kmans...@gmail.com wrote: However, it's not out of the question that calling sendBroadcast, with it being a framework function, is only allowed from the UI thread, just like many other framework functions in Android. sendBroadcast can be called