I'm writing an android program to check available space of internal phone memory or external sd card. But i don't know how to do this. Any one can help me how to do it in Android?
I think you're looking for this class: http://developer.android.com/reference/android/os/StatFs.html