From TrekBuddy Wiki
Hecl (Scripting for CMS)
Note : This page is intended for programmers and advanced users
Hecl is a scripting language used in a variety of mobile applications.
It is used in Trekbuddy, begining at version 0.9.84b.
using Hecl, one can customizes CMS by creating new variables and calculations.
Hecl scripting in TrekBuddy is still in early stage of developement !
More information on Hecl programming on the official Hecl website.
Handlers for the following events can be defined
|Event Handler||triggered when ...||example use|
|onTrackingStart||tracking is started||resetting custom variables|
|onTrackingStop||tracking is stopped|
|onLocationUpdated||new location is received||calculate custom variables|
|onKeyPress||key 2 or joystick UP is pressed||change scale|
The following variables has been imported from CMS variables
- cms::profile (filename of screen currently displayed)