Well the kernel is involved in most anything, of course, and certainly once
you have more than one process involved.

In this case, follow the trail -- Context.sendBroadcast().  This results in
a call on IActivityManager, which is implemented by ActivityManagerService,
and that is where the main implementation exists.

Further discussion should probably be moved off android-kernel.

On Fri, Mar 26, 2010 at 12:22 PM, nfsnfs chen <[email protected]> wrote:

> Thanks for help.
>
> I know it would be a stupid question.
> But I still can not figure out how ActivityManager dispatch Intent to
> the BroadcastReceiver.
> Using Android Framework only or kernel may help...?
>
> If this question is not suitable in android-kernel group, plz tell me.
>
> Thanks a lot!
>
> On Sat, Mar 27, 2010 at 12:46 AM, Dianne Hackborn <[email protected]>
> wrote:
> > Intent is a data container.  It makes no sense in this question.
> > Now if you are are asking if some APIs using intent do these things...
> >  well, yeah.  You can call an API with an Intent that will cause a
> sweeping
> > set of stuff to happen -- for example with startActivity, which can
> result
> > in lots of IPC (both via Binder and other ways) to communicate with the
> > activity manager, display a window, etc; and forking of a process, and
> > loading of an application (mmapping), and on and on.
> >
> > On Fri, Mar 26, 2010 at 7:07 AM, nfsnfs <[email protected]> wrote:
> >>
> >> Hi,
> >>
> >> Intent and Binder are both IPC mechanisms in Android.
> >> I would like to know: Does Intent uses Binder driver to implement?
> >> May Intent use other part of kernel?
> >> Or Intent has no relationship with kernel....?
> >>
> >> Thanks anyway.
> >>
> >> --
> >> unsubscribe: 
> >> [email protected]<android-kernel%[email protected]>
> >> website: http://groups.google.com/group/android-kernel
> >>
> >> To unsubscribe from this group, send email to
> >> android-kernel+unsubscribegooglegroups.com or reply to this email with
> the
> >> words "REMOVE ME" as the subject.
> >
> >
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
> >
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see
> and
> > answer them.
> >
> > --
> > unsubscribe: 
> > [email protected]<android-kernel%[email protected]>
> > website: http://groups.google.com/group/android-kernel
> >
> > To unsubscribe from this group, send email to
> > android-kernel+unsubscribegooglegroups.com or reply to this email with
> the
> > words "REMOVE ME" as the subject.
> >
>
> --
> unsubscribe: 
> [email protected]<android-kernel%[email protected]>
> website: http://groups.google.com/group/android-kernel
>
> To unsubscribe from this group, send email to android-kernel+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

To unsubscribe from this group, send email to 
android-kernel+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to