For data centric applications , u can handle the exception through 
exception handling mechanism and alert the user about low memory space when 
u caught exception. Am sure there should be some custom exception for low 
device memory in android.

On Thursday, April 18, 2013 4:46:03 PM UTC+5:30, sumit gulati wrote:
>
> How we can handle the file saving on low device memory(internal/Excternal 
> memrory). I know if sufficient space is not available the OS will throw 
> IOException but is there any way to handle this gracefully. Also if the 
> file size is not known before saving file then how can we handle low memory 
> scenario? 
>
> Is there any need to handle the same by checking filespace before saving 
> file or catch IOException. What is best practice for some data centric 
> applications?
>

-- 
-- 
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+unsubscr...@googlegroups.com
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to