Version 7 of Tcl and android

Updated 2012-03-06 20:22:18 by PZ

This is an empty page.

I just open this page to say that we can now run tcl on android. :) Have a look at: http://code.google.com/p/android-scripting


CliC 2011-01-12 Apparently not anymore; see http://wiki.tcl.tk/20310 and http://code.google.com/p/android-scripting/issues/detail?id=424 . :(


nscerqueira I post in the google groups the inexistance of tcl support and then I got the following information:

"You may find all files in my web server at http://pragana.net/Android

If you want the sources (in C, with a build script), taken straight from Tcl 8.5.9 distribution (8.6.x is yet unstable), please go to the homepage http://pragana.net .

Please, add it as needed to be installed from code.google.com, because I don't intend to distribute it.

"

Please lets start using it and imporve the use of tcl in android. Only with this effort tcl could be compared to python, lua and other scripting languages.


Googie 2011-09-01 I rooted (jail-break) my android, so I was able to re-mount my /system partition with rw permissions. Then I downloaded tclkit for android from [L1 ] (thank you Pat for providing it!). Then I put this tclkit into /system/bin and renamed to tclsh and gave +x permission. All this done with root permissions and ConnectBot android application (terminal emulator). Now I can run tclsh and write some Tcl there, also run some scripts!

Pros:

  • Tcl on android! Yeyy!!!
  • Tcl 8.6 (beta)

Cons:

  • No GUI support yet
  • No other native libraries available yet, one must relay on pure-tcl only
  • Root requirement
  • Complicated installation

I imagine that installation can be done simple for end-user using CWM package (see [L2 ] for details).

I wonder how complicated would be to implement some bindings to standard android GUI toolkit in C/C++ and compile it with android-ndk. This would give us complete package to write Tcl applications for android. The only requirement would be to install it with CWM (which many android users use anyway, but still it's a hackers way :( ).

Any thoughts?

RLH It would be awesome to use Tcl on Android.


PZ Take a look at Android X server [L3 ]