mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 10:31:37 -08:00
Open org-protocol:// links on Android
* doc/emacs/android.texi (Android Startup): Revise to reflect changes in the set of files registered for Emacsclient and mention org-protocol support. * java/AndroidManifest.xml.in: Open all files, not just a particular subset of image and data files. Register an org-protocol scheme handler. * java/org/gnu/emacs/EmacsOpenActivity.java (onCreate): Provide URI to Emacs verbatim if its scheme is `org-protocol'.
This commit is contained in:
parent
f735eb9628
commit
d286f6889c
3 changed files with 20 additions and 67 deletions
|
|
@ -477,6 +477,10 @@ public final class EmacsOpenActivity extends Activity
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (uri.getScheme ().equals ("org-protocol"))
|
||||
/* URL is an org-protocol:// link, which is meant to be
|
||||
directly relayed to emacsclient. */
|
||||
fileName = uri.toString ();
|
||||
|
||||
if (fileName == null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue