I'm wondering if it's possible in the Android SDK to find the X amount of room for pictures or the Y amount of time for filming left. In the next link, for example, 1674 pictures can still be taken. Is that manually calculated by the amount of disk space left and the size of a picture maybe? I've tried looking for solutions on this site and furthermore on google, but couldn't find anything about it...
https://i.stack.imgur.com/Sp4MD.png
Thanks!