Re: [android-developers] Re: broadcast an intent from onDestroy of a service

2012-08-17 Thread Mark Murphy
On Fri, Aug 17, 2012 at 5:24 PM, Ubuntu guy wrote: > Sorry, i should have given process info. > Both of my services run in independent applications and they are in > different process to reduce point of failures (like abnormal process > termination, low memory kills etc). > >This use case is w

[android-developers] Re: broadcast an intent from onDestroy of a service

2012-08-17 Thread Ubuntu guy
Sorry, i should have given process info. Both of my services run in independent applications and they are in different process to reduce point of failures (like abnormal process termination, low memory kills etc). This use case is when Service A (process A) is destroyed, it stops Service B (pro

Re: [android-developers] Re: broadcast an intent from onDestroy of a service

2012-08-17 Thread Mark Murphy
On Fri, Aug 17, 2012 at 4:55 PM, Ubuntu guy wrote: > well, i meant waiting on a coundownlatch which is released by the > broadcast receiver which receives the intent sent from the other > service's onDestroy. > > Besides, this happens within 2 seconds. If I understand you correctly: - You are bl

[android-developers] Re: broadcast an intent from onDestroy of a service

2012-08-17 Thread Ubuntu guy
well, i meant waiting on a coundownlatch which is released by the broadcast receiver which receives the intent sent from the other service's onDestroy. Besides, this happens within 2 seconds. On Aug 17, 1:50 pm, Mark Murphy wrote: > On Fri, Aug 17, 2012 at 4:42 PM, Ubuntu guy wrote: > >     I'm