On Thu, Apr 26, 2012 at 8:25 AM, beachboy <[email protected]> wrote: > I did omit the registerRecevier() in the example but it is my code. > From the logs I am receiving onReceive is being called on a new > process and my Application.onCreate() is being called where i print > the Process Id and these new Process Id are all different. > > My receiver is being used in my service.
It is syntactically impossible for a BroadcastReceiver, created the way you did, to be in a different process than the service from which you registered it. Java simply does not support that. Perhaps you added android:process to your service, in which case I humbly suggest that this is not needed and could be removed for greater efficiency. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

