diff options
| author | Po Lu | 2023-07-15 09:53:22 +0800 |
|---|---|---|
| committer | Po Lu | 2023-07-15 09:53:22 +0800 |
| commit | e9a39fd89831e83708928409ec473b493845196f (patch) | |
| tree | a3c5f383a390dc2c512419615d1899fff7751e69 /java | |
| parent | b6be92ffb69107ee224bd2f883bc621845ce9a33 (diff) | |
| download | emacs-e9a39fd89831e83708928409ec473b493845196f.tar.gz emacs-e9a39fd89831e83708928409ec473b493845196f.zip | |
Update Android port
* doc/emacs/android.texi (Android): Add new node to menu.
(Android Environment): Add footnote pointing to new node.
(Android Software): New node.
* doc/emacs/emacs.texi (Top): Add new node to menu.
* java/AndroidManifest.xml.in (manifest): Fix location of
sharedUserId property.
* java/INSTALL: Improve documentation of shared user ID
support.
Diffstat (limited to 'java')
| -rw-r--r-- | java/AndroidManifest.xml.in | 5 | ||||
| -rw-r--r-- | java/INSTALL | 15 |
2 files changed, 15 insertions, 5 deletions
diff --git a/java/AndroidManifest.xml.in b/java/AndroidManifest.xml.in index 3aae2032fff..895e7f88c57 100644 --- a/java/AndroidManifest.xml.in +++ b/java/AndroidManifest.xml.in | |||
| @@ -25,6 +25,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> | |||
| 25 | android:targetSandboxVersion="1" | 25 | android:targetSandboxVersion="1" |
| 26 | android:installLocation="auto" | 26 | android:installLocation="auto" |
| 27 | android:requestLegacyExternalStorage="true" | 27 | android:requestLegacyExternalStorage="true" |
| 28 | @ANDROID_SHARED_USER_ID@ | ||
| 29 | @ANDROID_SHARED_USER_NAME@ | ||
| 28 | android:versionCode="@emacs_major_version@" | 30 | android:versionCode="@emacs_major_version@" |
| 29 | android:versionName="@version@"> | 31 | android:versionName="@version@"> |
| 30 | 32 | ||
| @@ -74,8 +76,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. --> | |||
| 74 | android:supportsRtl="true" | 76 | android:supportsRtl="true" |
| 75 | android:theme="@style/EmacsStyle" | 77 | android:theme="@style/EmacsStyle" |
| 76 | android:debuggable="@ANDROID_DEBUGGABLE@" | 78 | android:debuggable="@ANDROID_DEBUGGABLE@" |
| 77 | @ANDROID_SHARED_USER_ID@ | 79 | android:allowBackup="true" |
| 78 | @ANDROID_SHARED_USER_NAME@ | ||
| 79 | android:extractNativeLibs="true"> | 80 | android:extractNativeLibs="true"> |
| 80 | 81 | ||
| 81 | <activity android:name="org.gnu.emacs.EmacsActivity" | 82 | <activity android:name="org.gnu.emacs.EmacsActivity" |
diff --git a/java/INSTALL b/java/INSTALL index 63b99272004..0646db426e0 100644 --- a/java/INSTALL +++ b/java/INSTALL | |||
| @@ -161,15 +161,24 @@ to provide both debug and release versions. | |||
| 161 | BUILDING WITH A SHARED USER ID | 161 | BUILDING WITH A SHARED USER ID |
| 162 | 162 | ||
| 163 | Sometimes it may be desirable to build Emacs so that it is able to | 163 | Sometimes it may be desirable to build Emacs so that it is able to |
| 164 | access executables from another program. To achieve this, that other | 164 | access executables and application data from another program. To |
| 165 | program must have a ``shared user ID'', and be signed with the same | 165 | achieve this, that other program must have a ``shared user ID'', and |
| 166 | signing key used to sign Emacs (normally `emacs.keystore'.) | 166 | be signed with the same signing key used to sign Emacs (normally |
| 167 | `emacs.keystore'.) | ||
| 167 | 168 | ||
| 168 | Once you have both that signing key and its ``shared user ID'', you | 169 | Once you have both that signing key and its ``shared user ID'', you |
| 169 | can give it to configure: | 170 | can give it to configure: |
| 170 | 171 | ||
| 171 | ./configure --with-shared-user-id=MY.SHARED.USER.ID | 172 | ./configure --with-shared-user-id=MY.SHARED.USER.ID |
| 172 | 173 | ||
| 174 | For instance, | ||
| 175 | |||
| 176 | ./configure --with-shared-user-id=com.termux | ||
| 177 | |||
| 178 | will result in Termux (https://termux.dev)'s application data being | ||
| 179 | accessible to Emacs, within its own application data directory located | ||
| 180 | at `/data/data/com.termux/files'. | ||
| 181 | |||
| 173 | Don't do this if you already have Emacs installed with a different | 182 | Don't do this if you already have Emacs installed with a different |
| 174 | shared user ID, as the system does not allow programs to change their | 183 | shared user ID, as the system does not allow programs to change their |
| 175 | user IDs after being installed. | 184 | user IDs after being installed. |