Friday, June 10, 2011

Re: [android-developers] passing bitmap via Intent is broken in 2.3?

On Fri, Jun 10, 2011 at 4:45 PM, Tony <tony@smartmobilesolutions.com> wrote:
> Hi guys,
> I am passing small bitmaps (about 30k each) from time to time, from a
> service to a widget (AppWidgetProvider) via Intent, using
....
>
> 06-10 02:34:59.791: ERROR/JavaBinder(96): !!! FAILED BINDER
> TRANSACTION !!!

>
> Again, it works with other phones with 2.1 and 2.2, but it doesn't
> work with Nexus One/2.3.4 build. If  I remove the Bitmap and put some
> other parameter instead (like String), it works.
>
> Any ideas? :)
>

'Failed binder transaction' usually means you are trying to pass
to much data. One way to avoid this is to save your bitmap to a
temporary file and just pass the filename in the intent.

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate