Soft References for Android 2.3+ -


i have app loads lot of bitmaps form 1 large one.

i use soft references allow these bitmaps stored appropriately. able scroll on them no problem on android os < 2.3 however, once 2.3 or higher, android became more aggressive soft reference collection. since happens, app runs on these newer phones.

i've seen documented issue here:

http://code.google.com/p/android/issues/detail?id=20015

does know way work around this? it's ridiculous app works way worse on newer phone! help.

soft references , weak references handled in different way above android 3.0. better if don't use them bitmaps. can use alternate methods scaling down bitmaps, disk cache, memory cache, etc. more details on how handle bitmaps refer http://developer.android.com/training/displaying-bitmaps/index.html


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -