I want to use PdfRenderer to get pdf first page Bitmap
in android 5.0 and above .
But i am unable to get ParcelFileDescriptor
of internal file in android .
any one known how to convert FileInputStream
to ParcelFileDescriptor
I want to use PdfRenderer to get pdf first page Bitmap
in android 5.0 and above .
But i am unable to get ParcelFileDescriptor
of internal file in android .
any one known how to convert FileInputStream
to ParcelFileDescriptor
Copyright © 2021 Jogjafile Inc.
To get a
ParcelFileDescriptor
on aFile
, call the staticopen()
method onParcelFileDescriptor
.