Re: [android-developers] How is 'onHandleIntent' handled in an IntentService

2012-03-24 Thread Kostya Vasilyev
24.03.2012 16:45, Put_tiMe пишет: Will they be invoked one after the other, in the order they were raised. As Mark already said, yes, it's sequential. If you look at the implementation: https://github.com/android/platform_frameworks_base/blob/master/core/java/android/app/IntentService.java

Re: [android-developers] How is 'onHandleIntent' handled in an IntentService

2012-03-24 Thread Mark Murphy
On Sat, Mar 24, 2012 at 8:45 AM, Put_tiMe wrote: > Will they be invoked one after the other, in the order they were raised. Yes. > Is there any chance that 'onHandleIntent' will be called in parallel, to > handle more than one intent simultaneously. No. IntentService only has one background thr

[android-developers] How is 'onHandleIntent' handled in an IntentService

2012-03-24 Thread Put_tiMe
I have an intent service. >From another class, I create 3 different intents at 3 different times, like this: At Time X: Intent aIntent = new Intent(context, abcd.service.ABCD_Processor.class); aIntent.setAction("Do_A"); context.startService(aIntent); At Time X + 50 milliseconds: Intent bIntent