Android - How to access the File from a ParcelFileDescriptor?

PressRex profile image
by PressRex
Android - How to access the File from a ParcelFileDescriptor?

According to the FileProvider documentation the fileProvider.openFile() method returns

a new ParcelFileDescriptor with which you can access the file.

I have looked in ParcelFileDescriptor, but I cannot see how to access the File. So how do I access the File from a ParcelFileDescriptor?

Source: View source

PressRex profile image
by PressRex

Subscribe to New Posts

Lorem ultrices malesuada sapien amet pulvinar quis. Feugiat etiam ullamcorper pharetra vitae nibh enim vel.

Success! Now Check Your Email

To complete Subscribe, click the confirmation link in your inbox. If it doesn’t arrive within 3 minutes, check your spam folder.

Ok, Thanks

Read More