I think we did a lot of unnecessary stuff.
The code already had provisions for "flushing" the cache originally. This
includes limiting its size.
By default, it is limited to
private static final int DEFAULT_DISK_CACHE_SIZE = 1024 * 1024 * 10; //
10MB
I think you can just change that value if you are worried about disk space:
<https://lh3.googleusercontent.com/-rE7FbX-5zNg/UXcKgCsXDnI/AAAAAAAAAaE/oL2PQ3HJxas/s1600/diskcache2.png>
Thanks.
On Tuesday, April 23, 2013 1:26:09 PM UTC-5, tsioularisa wrote:
>
> You are right about the strictMode. I disable this and the app was not
> sent a no responding message after that! But the problem wasn't fixed after
> that! I am testing the app in Samsung Galaxy Ace 2 with Android Gingebird
> 2.3.3. Did you succeed to reproduce the problem? I mean did you manage to
> start the activity and the photos weren't downloaded properly. Also i have
> created a post in stackOverflow which is the following.
>
> http://stackoverflow.com/questions/16108878/developer-android-com-training-bitmapfun-project
>
> it also worth 50bounty. If you find the answer post it there!
>
> Thanks a lot for your help and your interest!
>
--
--
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
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.