Re: [android-developers] Difference between ImageView.setImageBitmap() and RemoteView.setImageViewBitmap() ????

2009-12-08 Thread Jeff Sharkey
One alternative you can use is RemoteViews.setImageViewUri(), and then
write your own ContentProvider that feeds images through
openAssetFile().

j


On Wed, Nov 18, 2009 at 8:55 PM, tedd  wrote:
> Hi,
>
> I have seen that the ImageView.setImageBitmap() can process high
> resolution images(even of size greater than 480x640),  but
> RemoteView.setImageViewBitmap() fails with FAILED BINDER TRANSCATION
> error 
>
> Is there ary constraint on the bitmap size which RemoteView can
> handle 
> Why is the difference in the behaviour 
>
> Plz clarify this...
>
>
> Thanks,
> tedd
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Jeff Sharkey
jshar...@android.com

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


[android-developers] Difference between ImageView.setImageBitmap() and RemoteView.setImageViewBitmap() ????

2009-11-18 Thread tedd
Hi,

I have seen that the ImageView.setImageBitmap() can process high
resolution images(even of size greater than 480x640),  but
RemoteView.setImageViewBitmap() fails with FAILED BINDER TRANSCATION
error 

Is there ary constraint on the bitmap size which RemoteView can
handle 
Why is the difference in the behaviour 

Plz clarify this...


Thanks,
tedd

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