Android

 

Qu'en est-il de Tcl sur la plate-forme Android ?

Tclkit pour Android développé par Pat Thoyt

 http://www.patthoyts.tk/tclkit/android-arm/

Exemples de codes :

 # Display a simple message using Tcl in ASE.
 package require android
 set android [android new]
 $android makeToast "Hello, Android!"

.

 # Tcl sample that uses the text to speach API to speak the time.
 package require android
 set android [android new]
 set time [clock format [clock seconds] -format "%I %M %p on %A, %B %e %Y."]
 android speak $time

.

 package require android
 set android [android new]
 $android vibrate
 $android getInput "Hello!" "Type something in..."
 $android webSearch "android scripting with tcl"

.

 # responses look like:
 # {"error": null, "id": 1, "result": null}
 # {"error": null, "id": 2, "result": 0}
 # {"error": null, "id": 3, "result": {"data": "content://contacts/people/3#Internt;end"}}
 package require Tcl
 package require android
 set android [android new]

 puts "auto_path: $auto_path"

 $android vibrate

 #$android getRingerVolume
 #$android showContacts
 #$android getInput "title string" "Enter something"
 #$android scanBarcode
 #$android pickContact
 #$android webSearch "android scripting tclsh"

 #set time [clock format [clock seconds] -format "%I %M %p on %A, %B %e %Y."]
 #$android speak $time

 $android makeToast "You are using Tcl [info patchlevel] on Android!!"

 set pkgs [$android getRunningPackages]

 flush stdout
 after 1000 {set ::forever 1} ; vwait ::forever

Hecl développé par David Welton et Wolfgang Kechel

 http://www.hecl.org/docs/android.html

Voir un exemple avec la version Android de Password Gorilla :

 https://github.com/zdia/gorilla/wiki/Gorilla-for-Android-%28GUI%29