Discussion:
[gs-bugs] [Bug 698589] - MuPDF - Allow opening files via external application
b***@artifex.com
2017-09-24 13:06:12 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698589

Bug ID: 698589
Summary: Allow opening files via external application
Product: MuPDF
Version: 1.11
Hardware: Android Phone
OS: Android
Status: UNCONFIRMED
Severity: enhancement
Priority: P4
Component: apps
Assignee: mupdf-***@artifex.com
Reporter: b-bugs.ghostscript-aced8a541bc8862435bdd972ac1f1332495
***@emeel.net
QA Contact: gs-***@ghostscript.com
Word Size: ---

I'd like to be able to open files with MuPDF Mini from external applications
(i.e. the "complete with" dialog). I am not an experienced Android developer,
but to the best of my knowledge this requires utilizing the Intents API:

https://developer.android.com/reference/android/content/Intent.html

While MuPDF Mini aims to be a minimal (PDF) reader for Android, this feature is
indispensable as I see it.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-09-25 10:30:23 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698589

Tor Andersson <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@artifex.com

--- Comment #1 from Tor Andersson <***@artifex.com> ---
Newer versions of android only support passing files between applications using
the "content" URI scheme. MuPDF mini on the app store currently only supports
using the "file" URI scheme, which worked great until Android 23 or so.

The current git code has support for the "content" URI scheme, so the next
release should support opening files from other applications even in newer
Android versions.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-09-25 12:25:19 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698589

--- Comment #2 from Bart <b-bugs.ghostscript-***@emeel.net> ---
Created attachment 14335
--> http://bugs.ghostscript.com/attachment.cgi?id=14335&action=edit
"Open with" dialog
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-09-25 12:25:48 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698589

--- Comment #3 from Bart <b-bugs.ghostscript-***@emeel.net> ---
I just build and ran the git code. While it allowed me to open files from a
file manager (using the content URI scheme), when opening a PDF file from a
chat application, the "open with" dialog did not show MuPDF Mini as an option.

I added an attachment to show which dialog I am referring to.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-11-17 12:36:08 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698589

Mathieu Bacou <***@bacou.me> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@bacou.me

--- Comment #4 from Mathieu Bacou <***@bacou.me> ---
I believe MuPDF is registered on an intent for "file://*.pdf" URIs, but not for
"http(s)://*.pdf".

I observe that MuPDF is not available when I try to read a PDF from a Web URL.
I'd say this is the issue encountered by Bart: the "chat application" serves
the PDF from its servers.

Would it be possible to register an intent for PDF files from Web URIs?
--
You are receiving this mail because:
You are the QA Contact for the bug.
Loading...