Don't know if y'all know or not but there is already something implemented 
in Android specifically for caching temporary information...

*Saving cache files*
If you'd like to cache some data, rather than store it persistently, you 
should use 
getCacheDir()<http://developer.android.com/reference/android/content/Context.html#getCacheDir()>
 to 
open a File <http://developer.android.com/reference/java/io/File.html> that 
represents the internal directory where your application should save 
temporary cache files.
When the device is low on internal storage space, Android may delete these 
cache files to recover space. However, you should not rely on the system to 
clean up these files for you. You should always maintain the cache files 
yourself and stay within a reasonable limit of space consumed, such as 1MB. 
When the user uninstalls your application, these files are removed.

http://developer.android.com/guide/topics/data/data-storage.html#filesInternal
 


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

Reply via email to