On Fri, Aug 6, 2010 at 8:23 AM, pradeep <[email protected]> wrote:

> Could you please let me know if there is any API to check whether inserted
> SD Card is full . If it has free space, then how to know how much free
> space is left.
>

The SD card is a Java File like any other. Knowing this, doing this
http://tinyurl.com/2cmrt59  led me to

http://download.oracle.com/javase/6/docs/api/java/io/File.html#getTotalSpace()

and

http://download.oracle.com/javase/6/docs/api/java/io/File.html#getFreeSpace()

Try that.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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

Reply via email to