I have an application which download mp3 file sound from Google drive by using direct link ( API KEY ) but the problem is that if the device is full storage, it doesn't pop up any message to alert user that there is no space on device. Is there any way?
Now I understood the idea. But I need the way how much the size of the mp3 sound file which will be downloaded in order to compare if can be downloaded or no.