<Download manager downloads file as (.bin) [kotlin...
# stackoverflow
r
Download manager downloads file as (.bin) [kotlin] I have my source file links on google drive. I have the file links on my project. now I need to force download the file when i click download button. I have used download manager it triggers download but it downloads as (.bin). I my case I cannot give the extension as (.png or .jpg) because the file can be any type it can be (image file, zip file, or 3D files like .obj, .glb) so how can i download as the extension of the original file. private fun downloaad(zipFile: String, title: String) {...