I am developing an android application, and I have a need something below.
I want to download a PDF from my server and store it into the cache Dir or internal storage, so the user cannot get it as it will be premium content.
I have already tried it with '.' directory and creating '.nomedia' file so the third party application will not be able to show my PDFs.
But there is some file explorer which allows the hidden folder to be shown in that case the user can easily find my content.
I want to prevent that.
I am using the download manager to download PDFs.
Did anyone have the solution to this problem?
Thanks in advance.