I am facing tow issues in my app.
1- I am using Android DownloadManager
to download online files but it downloads all files to system directories say Download
directory by using
request.setDestinationInExternalPublicDir(Environment.DIRECTORY_PICTURES, "fileName");
Now I want to download the file to my own directory say "New Folder". How is it possible to implement. Please help me in this respect, I would be very thankful.
2- How can I check that whether SD card is available or not?