Few more details on the first approach on using setImageViewBitmap() for displaying image,
It works for maximum size of 420x600, which lands upto the total bitmap size == 420x600x4 ~= 1MB For more than 1MB bitmap data it fails with FAILED BINDER TRANSACTION error !!!! Can any one tell, if there is any limitation on the size of bitmapp, the remote view can handle ????? When ImageView is able to handle then why is the remote view failing for the same ???? Thanks, tedd On Nov 19, 1:41 am, tedd <[email protected]> wrote: > Also i even tried to change the approach, and stored the bitmap into > the jpeg/png file locally and provided the Uri od the file to the > appwidgetManager using setImageViewUri() > > This works with few issues :( > Since i am copying the bitmap data to outputstream using > bitmap.compress() writing to the local file, > even with compression quality as 100, the bitmap image is getting > downscaled and the downscaled image is seen on the widget and not the > actuall image. (same behaviour for both JPEG & PNG) But works fine > for small images. > > I want to update the photo widget with the bitmap of size (lies b/w> > 360x354 & <= 480x732 which will depends on the user selection) > > So any kind of help to fix this issue related to large size bitmaps > is appreciable ... > > Thanks in Advance, > tedd > > On Nov 19, 1:15 am, tedd <[email protected]> wrote: > > > > > Hi, > > > In my photowidget app, when i configure the photo widget with bitmap > > of bigger size( around 480x640 or more) using > > remoteviews.setImageViewBitmap(), the widget dosent get updated with > > the new image instead i see FAILED BINDER TRANSCATION error !!! > > > How to get rid of this ???? > > > If this issue is b'coz the bitmap given to the > > appWidgetManager.updateAppWidget() is huge , then what is the maximum > > bitmap size the android will process successfully ???? > > > Thanks in advance, > > tedd- Hide quoted text - > > - Show quoted text - -- 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

