From: Po Lu <luangruo@yahoo.com>
To: Antonio Romano via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Cc: Antonio Romano <n58r@pm.me>
Subject: Re: [Emacs for Android] How to open file with an external app?
Date: Tue, 22 Aug 2023 20:23:09 +0800 [thread overview]
Message-ID: <87a5uj8dw2.fsf@yahoo.com> (raw)
In-Reply-To: <87edjv8e8k.fsf@yahoo.com> (Po Lu's message of "Tue, 22 Aug 2023 20:15:39 +0800")
Po Lu <luangruo@yahoo.com> writes:
> Antonio Romano via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org> writes:
>
>> The android-browse-url function allows to open a website using the
>> default browser. Alternatively it is also possible to invoke the share
>> menu.
>>
>> But is it possible to invoke the "Open with..." menu for a specific
>> file? How can one achieve this?
>
> By providing a file:// URI to android-browse-url (should the file be
> accessible to all programs), or a content URI of the following form:
>
> content://org.gnu.emacs/PATH
Scratch that: `android-browse-url' rewrites file URIs into their
content:// counterparts without user intervention. It is not necessary
to provide a content URI yourself.
next prev parent reply other threads:[~2023-08-22 12:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-19 14:57 [Emacs for Android] How to open file with an external app? Antonio Romano via Users list for the GNU Emacs text editor
2023-08-22 12:15 ` Po Lu
2023-08-22 12:23 ` Po Lu [this message]
2023-08-22 14:49 ` Antonio Romano via Users list for the GNU Emacs text editor
2023-08-22 23:45 ` Po Lu
2023-08-23 10:05 ` Antonio Romano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a5uj8dw2.fsf@yahoo.com \
--to=luangruo@yahoo.com \
--cc=help-gnu-emacs@gnu.org \
--cc=n58r@pm.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.