Update of "Environment Variables"
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 8a95cb5558088b1a8f63021c1b67fbccf5077563
Page Name:Environment Variables
Date: 2019-04-26 07:14:09
Original User: chw
Parent: 1e4eed4b750d006bd186e6903e54adb174b3b434
Content

Environment Variables

Some environment variables in the env array are setup on early startup of AndroWish.

env(EXTERNAL_FILES)

App specific directory on external storage.

env(EXTERNAL_STORAGE)

Path name of external storage (could be internal SD card).

env(EXTERNAL_STORAGE2)

Path name of external storage (real external SD card).

env(HOME)

App's home directory (internal storage), usually /data/data/tk.tcl.wish/files.

env(INTERNAL_STORAGE)

App specific directory on internal storage (identical with $env(HOME)).

env(LANG)

System language.

env(LD_LIBRARY_PATH)

Load path for shared libraries including app specific directory (usually /data/data/tk.tcl.wish/libs).

env(OBB_DIR)

On some Android versions extra stuff bundled with the app (currently unused).

env(PACKAGE_CODE_PATH)

Path name of the app's APK.

env(PACKAGE_NAME)

Package name where the app's main class comes from (tk.tcl.wish).

env(PATH)

Path for exec(n) including app specific directory

env(TMPDIR)

Path name for temporary files (usually /data/data/tk.tcl.wish/cache, fallback is value of $env(HOME)).

To test if a Tcl script is executing on the Android platform sdltk android (see sdltk command) should be used.