On Wed, Dec 12, 2012 at 8:21 AM, abhay_401 <abhilash.androiddevelo...@gmail.com> wrote: > I want to write a file(.txt) in sdcard before to that I want to check > whether the space availability in Sdcard. > If there is sufficient memory I want to write that file in sdcard. How can I > do that..?
http://developer.android.com/reference/android/os/StatFs.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 4.4 Available! -- 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