I am working on a feature to enable search functionality in an in-app pdf viewer in android. We want to restrict opening the pdf in external apps because user should not be able to download the document. Currently, the in-app pdf viewer uses pdfRenderer to show the pdf. Please suggest if someone has any inputs in order to implement this. Any libraries or tools which are not open source would work
I tried controlling the download of document in external app via flags in intent but that is not working
techanista is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.