I read somewhere that Download Manager in android can not save the file in the internal storage because Download Manager does not run in my app process, but in another process controlled by the system. Internal storage locations are permissions protected and any location that you would provide would be accessible only to my application.
but when I used this code, it saved my file in Internal storage:
request.setDestinationInExternalFilesDir(ShowMovieActivity.this, Environment.DIRECTORY_DOWNLOADS,"Movie"+ID+".mp4");
I am confused, can anyone help me?