title: How to determine if internal storage is full?
body: <p>I am making an android app which saves a 2MB <code>.txt</code> file in the internal storage. How can I know if the internal storage is full, and thus save the file to the external storage?</p>