Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept android.net.Uri as input PDF, not just java.io.File #27

Open
ViliusSutkus89 opened this issue Oct 17, 2021 · 0 comments
Open

Accept android.net.Uri as input PDF, not just java.io.File #27

ViliusSutkus89 opened this issue Oct 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@ViliusSutkus89
Copy link
Collaborator

When dealing with files, Android usually deals in Uri's not File handles. Sharing/Sending files from other apps, opening through file manager or through Storage Access Framework. All of them deal with android.net.Uri's . This means downstream app has to copy the file into cache first and only then it's possible to do obtain java.io.File handle, which is needed for the conversion. Would be cool to get the output as text stream too, because that would prevent an extra file copy.
This needs upstream pdf2htmlEX patching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant