I work with Android and I want to open PDF file:
- From
- From Internal Storage (Where is my file read by Android?)
Can anyone help me?
To open PDF in application usage
P>
Uri Path = Uri.framefile (file); Intent = intent (intent.ACTION_VIEW); Intent.setDataAndType (path, "application / pdf"); Intent.setFlags (Intent.FLAG_ACTIVITY_CLEAR_TOP); StartActivity;
Where the file is the path to the PDF file.
No comments:
Post a Comment