diff options
| author | Po Lu | 2023-02-09 22:56:41 +0800 |
|---|---|---|
| committer | Po Lu | 2023-02-09 22:56:41 +0800 |
| commit | 209ae003b7444d2e9b195db9475ddbdefa8f9c64 (patch) | |
| tree | 5826ded6dffda28fb76300c3df8222432771c6fd /java/README | |
| parent | f0f45ab10d9599c1dfe44ace8fe6b604de0b2935 (diff) | |
| download | emacs-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/README | 13 |
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. | |||
| 5 | The ``org/gnu/emacs'' subdirectory contains the Java sources under the | 5 | The ``org/gnu/emacs'' subdirectory contains the Java sources under the |
| 6 | ``org.gnu.emacs'' package identifier. | 6 | ``org.gnu.emacs'' package identifier. |
| 7 | 7 | ||
| 8 | The ``res'' directory contains resources, mainly the Emacs icon. | 8 | ``AndroidManifest.xml'' contains a manifest describing the Java |
| 9 | sources to the system. | ||
| 10 | |||
| 11 | The ``res'' directory contains resources, mainly the Emacs icon and | ||
| 12 | several ``boolean resources'' which are used as a form of conditional | ||
| 13 | evaluation 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 |
| 11 | here, and we encourage all people redistributing Emacs to use this | 16 | here, 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 | ||
| 464 | where ``static'' defines a section of code which will be run upon the | ||
| 465 | object (containing class) being loaded. This is like: | ||
| 466 | |||
| 467 | __attribute__((constructor)) | ||
| 468 | |||
| 469 | on systems where shared object constructors are supported. | ||
| 459 | 470 | ||
| 460 | See http://docs.oracle.com/en/java/javase/19/docs/specs/jni/intro.html | 471 | See http://docs.oracle.com/en/java/javase/19/docs/specs/jni/intro.html |
| 461 | for more details. | 472 | for more details. |