If you are overflowing the binder RPC mechanism, maybe your bitmap
really is too large, and would cause performance problems even if it
went through.
There are other ways to push a dynamically generated bitmap into a
widget, perhaps you should consider those.
-- Kostya
01.08.2011 18:45, Ash McConnell пишет:
Hi Folks,
I am coming across an error when I am updating my RemoteViews in my
AppWidget.
!!! FAILED BINDER TRANSACTION !!!
This is caused because all the changes to the RemoteViews are
serialised (e.g. setInt and setImageViewBitmap ). The bitmaps are also
serialised into an internal bundle. Unfortunately this bundle has a
very small size limit.
I cannot use setImageResource as I am hoping to allow the user to
download skins for the widget.
Can anyone recommend a workaround for this problem? I am already using
a "new" RemoteViews object for each instance of the widget, but a
single instance contains too many updates.
All the best,
Ash
--
Kostya Vasilyev
--
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en