Dear Developers, it has been some time since I last communicated with you. It has been a tumultuous period and my focus has been elsewhere. I have been following the release of ooRexx 5.0 with great interest and I would like to extend my congratulations on this release. The signs are good that there will soon be an ooRexx 5.0 version for Android. I have, in fact, recently resumed work on porting ooRexx to Android. Today, I am pleased to report some success. In my previous update to this list, there was an issue where the rxapi would hang when starting a rexx script. I have now resolved this issue and oorexx programs are now running without any problems on Android. Professor Flatscher provided me with a test script that I ran on my virtual Android machine. I have attached the 03_test.rex Script which I executed on the Android device. As you can see at the end of this Mail, the output is without any problems. Nevertheless, there are still things that I am currently working on. For now, I am trying to create an Android APK that can be used to copy the executable files and libraries on an Android device and set the environment variables. As I am not very familiar with Android Studio, I am always open to any input regarding the implementation. Below is the output from 03_test.rex:
…
At : [2023-01-25T17:33:04.731367]
source : [ANDROID COMMAND /data/local/tmp/release/bin/03_test.rex]
version : [REXX-ooRexx_5.1.0(MT)_64-bit 6.05 24 Jan 2023]
.RexxInfo:
1: ARCHITECTURE .....: 64
2: CASESENSITIVEFILES: 1
3: DATE .............: 9 Jan 2023
4: DEBUG ............: 1
5: DIGITS ...........: 9
6: DIRECTORYSEPARATOR: /
7: ENDOFLINE ........: "0A"x
8: EXECUTABLE .......: /data/local/tmp/release/bin/rexx
9: FORM .............: SCIENTIFIC
10: FUZZ .............: 0
11: INTERNALDIGITS ...: 18
12: INTERNALMAXNUMBER : 999,999,999,999,999,999
13: INTERNALMINNUMBER : -999,999,999,999,999,999
14: LANGUAGELEVEL ....: 6.05
15: LIBRARYPATH ......: /data/local/tmp/release/lib
16: MAJORVERSION .....: 5
17: MAXARRAYSIZE .....: 100,000,000,000,000,000
18: MAXEXPONENT ......: 999,999,999
19: MAXPATHLENGTH ....: 4096
20: MINEXPONENT ......: -999,999,999
21: MODIFICATION .....: 0
22: NAME .............: REXX-ooRexx_5.1.0(MT)_64-bit 6.05 9 Jan 2023
23: PACKAGE ..........: The REXX Package
24: PATHSEPARATOR ....: :
25: PLATFORM .........: DARWIN
26: RELEASE ..........: 1
27: REVISION .........: 12621
28: VERSION ..........: 5.1.0
---
cmd : [env | sort]
---> [env | sort] (collected output)
ANDROID_ART_ROOT=/apex/com.android.art
ANDROID_ASSETS=/system/app
ANDROID_BOOTLOGO=1
ANDROID_DATA=/data
ANDROID_I18N_ROOT=/apex/com.android.i18n
ANDROID_ROOT=/system
ANDROID_SOCKET_adbd=21
ANDROID_STORAGE=/storage
ANDROID_TZDATA_ROOT=/apex/com.android.tzdata
ASEC_MOUNTPOINT=/mnt/asec
BOOTCLASSPATH=/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.adservices/javalib/framework-adservices.jar:/apex/com.android.adservices/javalib/framework-sdksandbox.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.btservices/javalib/framework-bluetooth.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.ondevicepersonalization/javalib/framework-ondevicepersonalization.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-connectivity-t.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.uwb/javalib/framework-uwb.jar:/apex/com.android.wifi/javalib/framework-wifi.jar
DEX2OATBOOTCLASSPATH=/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar
DOWNLOAD_CACHE=/data/cache
EXTERNAL_STORAGE=/sdcard
HOME=/
HOSTNAME=emu64a
LD_LIBRARY_PATH=:/data/local/tmp/release/lib:/data/local/tmp/release/lib
LOGNAME=root
PATH=/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin:/data/local/tmp/release/bin
SHELL=/bin/sh
STANDALONE_SYSTEMSERVER_JARS=/apex/com.android.btservices/javalib/service-bluetooth.jar:/apex/com.android.os.statsd/javalib/service-statsd.jar:/apex/com.android.scheduling/javalib/service-scheduling.jar:/apex/com.android.tethering/javalib/service-connectivity.jar:/apex/com.android.uwb/javalib/service-uwb.jar:/apex/com.android.wifi/javalib/service-wifi.jar
SYSTEMSERVERCLASSPATH=/system/framework/com.android.location.provider.jar:/system/framework/services.jar:/apex/com.android.adservices/javalib/service-adservices.jar:/apex/com.android.adservices/javalib/service-sdksandbox.jar:/apex/com.android.appsearch/javalib/service-appsearch.jar:/apex/com.android.art/javalib/service-art.jar:/apex/com.android.media/javalib/service-media-s.jar:/apex/com.android.permission/javalib/service-permission.jar
TERM=xterm-256color
TMPDIR=/data/local/tmp
USER=root
_=/system/bin/env
<--- [env | sort] (end of collected output)
…
Best regards
Thomas
03_test.rex
Description: 03_test.rex
_______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
