Does Intent use Binder driver to implement?

by nfsnfs » Fri, 26 Mar 2010 14:08:00 GMT


Sponsored Links
 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.

-- 


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.



Does Intent use Binder driver to implement?

by Dianne Hackborn » Fri, 26 Mar 2010 16:47:24 GMT


 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.




> website: 


Sponsored Links


Does Intent use Binder driver to implement?

by nfsnfs chen » Fri, 26 Mar 2010 19:22:33 GMT


 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!





-- 


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.



Does Intent use Binder driver to implement?

by Dianne Hackborn » Fri, 26 Mar 2010 20:08:44 GMT


 ell 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 <nfs...@gmail.com> wrote:




--
Dianne Hackborn
Android framework engineer
hack...@android.com

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.

--


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.



Other Threads

1. Problem with padding when loading Nine Patch Drawable

Hi all!

I have to load some Nine Patch Drawables from a server.
But I always get a padding of (0,0,0,0), regardless what's stored in
the Drawable.

My code:

Bitmap bitmap = BitmapFactory.decodeFile(filename);
NinePatchDrawable drawable = new NinePatchDrawable(res, bitmap,
bitmap.getNinePatchChunk(), name);

image.getPadding(pad); returns true and for "pad" (0,0,0,0).

Am I doing something wrong?

I also tried to set the padding manually using the info from
getNinePatchChunk(). But NinePatchChunk is not very well documented ->
almost useless.

regards, max

-- 

2. animated widget

Hi,

I have a very simple widget that has a background image of a speech
bubble and an imageView that contains a character standing next to it
(as if he is saying something).
On top of the speech bubble i have a textView in which i show some
text.

Basically all i want to do is so that when the user clicks on the
character the image changes to show an animation of the character.

I did a simple app that animates an imageView (using the animation-
list xml) when the image is clicked and that worked fine. So i was
wondering if i could achieve the same thing with this widget.

I have seen some examples where by you can click on a widget (be it a
button, image, whatever) and you can then load a config layout however
i simply cant figure out and i cant find anywhere if what i want can
be done.

So basically what i need to know is:
1. can a widget have an animated imageView
2. What do i need to do so that when the imageView is clicked it loads
the animation?

Can anyone point me in the right direction please?

Thanks in advance guys!!

-- 

3. Seng . wants to chat

4. Phone number formating on incoming call, determing country code?

5. Emulator not rotating screen?

6. ImageView setImageMatrix causing trails when moving image and not moving full image.

7. Querying for Product List