Version 7 of Tclkit and Android

Updated 2013-10-27 15:51:58 by suchenwi

Roy Keene's tclkit generation creates files that run on Android, among many other platforms. Here is what is necessary to be able to use them.

First, get a terminal emulator app. I use the Android Terminal Emulator written by Jack Palevich [L1 ]. I have not compared other apps, but this one does what I have needed.

I have not rooted my Android phone, so there are rather strict limits on what can be done. For instance, there are few directories where executable files can be located, and many tools do not allow introspection of those locations. /data/tmp works on my phone, and /data/local/tmp may work elsewhere.

The code to download and execute the tclkit is below. Note that the "8.6.0" part of the filename will have to be updated as the current Tcl version changes.

cd /data/tmp

curl http://www.rkeene.org/devel/kitcreator/kitbuild/nightly/tclkit-8.6.0-android-arm-notk-xcompile > tclkit

chmod 755 tclkit

TMPDIR=~/tmp; export TMPDIR

./tclkit

TJK - Here is a link to some more information.

Tcl, Android, tclvfs, and .apk packaging work

http://ariesengine.com/docs/language-guides/tcl-api-reference/

http://ariesengine.com/


MJ For using Android as a unixy box, you could check Terminal IDE [L2 ] it allows you to run executables without need to root. It also has vi and other tools installed so you can pretty much work from you Android device.

RS 2013-10-27 - Indeed. I have Terminal IDE on tablet and phone. Tclkits run with no trouble in its environment (sqlite can't be loaded, though). The recommended editor is vim (enhanced to a tiny IDE for Java development), vi comes with busybox, but nano is also there (which I prefer). Best feature for me at the moment is telnetd, so I can use my netbook's screen and keyboard to login to the little devices, via WiFi.

Now if we had Tk for Android...