Detecting when the file system runs out of space

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Detecting when the file system runs out of space

Postby forcery » Thu Jul 02, 2009 10:12 pm

This is quite a simple question, but I haven't yet been able to find a solution. How would one determine the number of bytes that are not used on the file system (both the main and the SD card) within an application? I'm writing an application that downloads content from the internet, and I'd rather not fill up my users' phones without at least giving them fair warning when their file system is about to fill up. Thanks!
forcery
Freshman
Freshman
 
Posts: 3
Joined: Mon Jun 15, 2009 7:08 pm
Location: Boston, MA

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot] and 5 guests