aboutsummaryrefslogtreecommitdiffstats
path: root/java/README
diff options
context:
space:
mode:
authorPo Lu2023-02-09 22:56:41 +0800
committerPo Lu2023-02-09 22:56:41 +0800
commit209ae003b7444d2e9b195db9475ddbdefa8f9c64 (patch)
tree5826ded6dffda28fb76300c3df8222432771c6fd /java/README
parentf0f45ab10d9599c1dfe44ace8fe6b604de0b2935 (diff)
downloademacs-209ae003b7444d2e9b195db9475ddbdefa8f9c64.tar.gz
emacs-209ae003b7444d2e9b195db9475ddbdefa8f9c64.zip
Allow other text editors to edit files in Emacs' home directory
* java/AndroidManifest.xml.in: Declare the new documents provider. * java/README: Describe the meaning of files in res/values. * java/org/gnu/emacs/EmacsDocumentsProvider.java (EmacsDocumentsProvider): New file. * java/res/values-v19/bool.xml: * java/res/values/bool.xml: New files.
Diffstat (limited to 'java/README')
-rw-r--r--java/README13
1 files changed, 12 insertions, 1 deletions
diff --git a/java/README b/java/README
index 5539871cc2c..fd4aa770f4b 100644
--- a/java/README
+++ b/java/README
@@ -5,7 +5,12 @@ package out of them.
5The ``org/gnu/emacs'' subdirectory contains the Java sources under the 5The ``org/gnu/emacs'' subdirectory contains the Java sources under the
6``org.gnu.emacs'' package identifier. 6``org.gnu.emacs'' package identifier.
7 7
8The ``res'' directory contains resources, mainly the Emacs icon. 8``AndroidManifest.xml'' contains a manifest describing the Java
9sources to the system.
10
11The ``res'' directory contains resources, mainly the Emacs icon and
12several ``boolean resources'' which are used as a form of conditional
13evaluation for manifest entries.
9 14
10`emacs.keystore' is the signing key used to build Emacs. It is kept 15`emacs.keystore' is the signing key used to build Emacs. It is kept
11here, and we encourage all people redistributing Emacs to use this 16here, and we encourage all people redistributing Emacs to use this
@@ -456,6 +461,12 @@ loaded by the special invocation:
456 System.loadLibrary ("emacs"); 461 System.loadLibrary ("emacs");
457 }; 462 };
458 463
464where ``static'' defines a section of code which will be run upon the
465object (containing class) being loaded. This is like:
466
467 __attribute__((constructor))
468
469on systems where shared object constructors are supported.
459 470
460See http://docs.oracle.com/en/java/javase/19/docs/specs/jni/intro.html 471See http://docs.oracle.com/en/java/javase/19/docs/specs/jni/intro.html
461for more details. 472for more details.