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:23:09 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

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.


reply via email to

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