Tuesday, July 31, 2012

[android-developers] use big size Bitmap in AppWidget

hi all:
   
     I am attempting to create an android Widget application which display more than 10 images in ListView. The image size depends on screen resolution, so the image might be 300*300 pixel on some high resolution devices. When scrolling the listview Widget, the widget looks laggy and choppy. However, this laggy problem only happens on some high resolution device. I looked into android source code, and find out that there is a cache in RemoteViewsAdapter whose size is fixed to 2MB. 2MB is enough in most device, but not in high resolution devices. 
    Is there anyone see this problem as well? Any help would be appreciated.   thanks

--
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