Hi all.
I have a question.
I need to select a PDF on the user's phone (user will select this file), then open it and show the content to the user. If the user selected the correct file, I want him to confirm it by clicking a button below to save the file name in the local database.
I'm using FileProvider and Content resolver to show a list of folders and files - this is done already. My problem is how to open a PDF with the Intent. The problem is that the Intent starts on top of the Activity. But I need to open it inside activity so I can put a button below.
My question is- is it possible to open Intent inside a panel? In iOS I can use Webview to open a PDF but in Android Webview does not support it.
Thank you.
I have a question.
I need to select a PDF on the user's phone (user will select this file), then open it and show the content to the user. If the user selected the correct file, I want him to confirm it by clicking a button below to save the file name in the local database.
I'm using FileProvider and Content resolver to show a list of folders and files - this is done already. My problem is how to open a PDF with the Intent. The problem is that the Intent starts on top of the Activity. But I need to open it inside activity so I can put a button below.
My question is- is it possible to open Intent inside a panel? In iOS I can use Webview to open a PDF but in Android Webview does not support it.
Thank you.