android - Storing images in Phones having both inbuilt storage and external SD Card -


i trying store image in external storage using getexternalstoragedirectory() method. want know if phone has both inbuilt external storage , external sd card too. image stored first ? if 1 of these storage full, system use other storage store image ?

you can refer official document handle saving files. there no automatic method save image if storage full can check storage's space using getfreespace() or gettotalspace() available in android api. android give flexibility developer handle file's storage.


Comments