<h2>Example Scripts And Screenshots</h2>

Many packaged example scripts can be invoked on typical Android devices by a URL on the VFS mounted folder. This works with the Android web view component, Firefox, and Chrome. For Firefox, the last path component (the tcl file) must be URL encoded, e.g. <tt>test.tcl</tt> must be written as <tt>test%2Etcl</tt>.

<b>Tk widget demo<b>

    <a <a code</a>
<nowiki>
<br><br>
<img
alt="Screenshot widget demo">
<br>Screenshot taken on an i-onik TP9.7-1200QC-Ultra tablet
<br><br>
</nowiki>

<b>App Life-cylce, accelerometer, finger events</b>

      <a <a code</a>
<nowiki>
<br><br>
<img
alt="Screenshot app life-cycle, accelerometer, finger events">
<br>Screenshot taken on a Lenovo Yoga 8 tablet
<br><br>
</nowiki>

<b>Accelerometer with canvas widget</b>

      <a <a code</a>
<nowiki>
<br><br>
<img
alt="Screenshot accelerometer with canvas widget">
<br>Screenshot taken on a Lenovo Yoga 8 tablet
<br><br>
</nowiki>

<b>Device sensors</b>

      <a <a code</a>
<nowiki>
<br><br>
<img
alt="Screenshot device sensors">
<br>Screenshot taken on a Lenovo Yoga 8 tablet
<br><br>
</nowiki>

<b>Compass using magnetic field sensor and accelerometer</b>

      <a <a code</a>
<nowiki>
<br><br>
<img
alt="Screenshot compass using magnetic field sensor and accelerometer">
<br>Screenshot taken on a Lenovo Yoga 8 tablet
<br><br>
</nowiki>


<b>Pinch-to-zoom with canvas widget</b>

      <a <a code</a>

<b>Eliza: speech recognition and speech-to-text</b>

      <a <a code</a>

<b>TclMixer: audio output and mod music playback</b>

      <a <a code</a>

<b>Simple VNC viewer</b>

      <a <a code</a>
<nowiki>
<br><br>
<img
alt="Screenshot VNC viewer">
<br>Screenshot taken on ASUS Fonepad K004 ME371G
<br><br>
</nowiki>

<b>Barcode generation using ZINT</b>

      <a <a code</a>
<nowiki>
<br><br>
<img
alt="Screenshot barcode generation using ZINT">
<br>Screenshot taken on a HTC One V smartphone
<br><br>
</nowiki>

<b>GPS/NMEA display</b>

      <a <a code</a>
<nowiki>
<br><br>
<img alt="Screenshot GPS/NMEA display">
<br>Screenshot taken on a HTC One V smartphone
<br><br>
</nowiki>

<b>Walkie-talkie using snack and UDP multicast</b>

      <a <a code</a>

<b>Simple chat using Bluetooth serial port profile (SPP)</b>

      <a <a code</a>

<b>TkSQLite database frontend for SQLite</b>

      <a <a code</a>
<nowiki>
<br><br>
<img alt="Screenshot TkSQLite">
<br>Screenshot taken on a Lenovo Yoga 8 tablet
<br><br>
</nowiki>

<b>Canvas 3D using camera for texturing cube surfaces</b>

      <a <a code</a>
<nowiki>
<br><br>
<img alt="Screenshot photocube">
<br>Screenshot taken on a Lenovo Ideatab A3000-H tablet
<br><br>
</nowiki>

<b>Interactive MIDI music</b>

      <a <a code</a>
<nowiki>
<br><br>
<img
alt="Screenshot MIDI music">
<br>Screenshot taken on a Lenovo Ideatab A3000-H tablet
<br><br>
</nowiki>


<b>Piano, a pocket synthesizer</b>

      <a <a code</a>


<b>Data Matrix Code scanner using camera and [dmtx command]</b>

      <a <a code</a>


<b>Barcode scanner using camera and [zbar command]</b>

      <a <a code</a>


<b>Minimalist WebCam in &#8776; 100 LOC</b>

      <a <a code</a>

<b>Tkbugz, a game requiring a VR headset and a USB or Bluetooth joystick</b>

      <a <a code</a>