title: Is there a way to get SD Card size in Android?
body: <p>Welcome all</p>
  
  <p>I have tried every question related to this in Stackoverflow and google and none of them works. I have tried something like this next link, but it returns the same as internal storage: <a href="https://stackoverflow.com/questions/16834964/how-to-get-an-external-storage-sd-card-size-with-mounted-sd-card/16835201#16835201">How to get an External storage sd card size (With Mounted SD card)?</a></p>
  
  <p>For example, if I have about 12GB internal storage and 4GB SD card storage, no matter what method I use, I always get the exact same number for the SD space as I do for internal space. </p>
  
  <p>It seems that the old methods posted here in Stackoverflow only works until Android KitKat but do not work in next android versions.</p>
  
  <p>Is possible to solve this?</p>