help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs for Android] How to open file with an external app?


From: Po Lu
Subject: Re: [Emacs for Android] How to open file with an external app?
Date: Tue, 22 Aug 2023 20:15:39 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

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

where PATH is the URL-encoded absolute file name of the file being
opened.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]