I've found a very good method to get paths to all the sd-cards that device has,not only Environment.getExternalStorageDirectory() , but also external ones. This method is secrond at How can I get external SD card path for Android 4.0+?
So, my question is how can I find out free available space on sd card knowing it's path, for example, "storage/extSdCard" or any other
in other words i need a method :
public int getExternalAvailableSpaceInBytes(String sdRootPath) {
//here's this method using this sdRootPath
}