Doesn't the presence of this action on the MediaPlayer suggest that it
will be returning large images? Or am I misunderstanding the
"intention" of this action?

On Aug 20, 11:13 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> Bitmaps can be passed as extras in Intents. That's how Home can create
> shortcuts with custom icons (for instance the photo of your contact.)
> However, it is expensive to do so and you should really not pass large
> bitmaps through Intents (Home uses 48x48 bitmaps.)
>
>
>
> On Wed, Aug 20, 2008 at 2:57 PM, tomgibara <[EMAIL PROTECTED]> wrote:
>
> > How does the following documentation for
> > MediaPlayer.ACTION_IMAGE_CAPTURE:
>
> > "Standard Intent action that can be sent to have the media application
> > capture an image and return it. The image is returned as a Bitmap
> > object in the extra field."
>
> > square with hackbod's informed commentary here:
>
> >http://groups.google.com/group/android-developers/msg/a0ae2e6455684245
>
> > Quoting hackbod:
>
> > "Currently if you put a bitmap in an Intent, it will get copied to the
> > other process.  In fact, it is worse than that: it needs to first go
> > through the system process before being sent to the target process, so
> > it gets copied twice.  This is definitely not something you want to do
> > with anything but a small bitmap."
>
> > Has something changed which now makes passing Bitmaps via Bundles
> > acceptable?
>
> --
> Romain Guywww.curious-creature.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to