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 Guy www.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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---

