http://developer.android.com/reference/android/os/StatFs.html
On Mon, Nov 28, 2011 at 5:38 AM, ydm <[email protected]> wrote: > Hello, everyone! > > I'm wondering if there is a Java way to check the storage capacity and > percentage free. > What I'm up to is to spawn a pipe and read the output of df unix > command. > > Sadly I was unable to find a better way and that's why I'm asking for > a such here. > > -- > 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 > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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

