java - How to get SD card events? -


i'm building app monitors phone usage. need implement sqlite db necessary application running.

because not devices have emmc, need check if device have emmc , if not need check if sd card available. (if emmc not present, other place blackberry let me put db sd card).

i need know how check if sd card present , how many free space has , need implement "listener" check hot sd removal event , similar.

someone can help?

thanks.

filesystemregistry has static method can add custom filesystemlistener implementation. let know when sd card added or removed.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -