Repository navigation
EN 01 introduction
This guide takes you from an empty project to your own indicator showing up on the Velitask Telemitri canvas. It is deliberately practical: what to get, what to install, what to connect, what to build, and where to click. The exact contract of the SDK classes is not covered here — for that there is JavaDoc and the reference-plugin documentation (see Next steps).
Telemitri is deliberately open — to give developers maximum freedom. All project data is stored in a local SQLite database, and the plugin works with it directly: it reads source and sensor data, and it can create its own tables to store its own analytics.
The code of plugin-official — every plugin shipped with Telemitri — is fully open. You can:
- study it and use it as a basis for your own indicators;
- copy and modify it however you like, for your own needs;
- extend and evolve the existing indicators;
- send improvements via pull request — they are welcome.
Don't start from scratch: fork a working plugin and reshape it for yourself.
Your fork replaces the official plugin. A plugin is identified by its ID (UID). If your build keeps the same UID as a built-in plugin, Telemitri loads only one of them: the one with the higher version (
getVersion()), and with equal versions — the one with the newer JAR file. So don't set your fork's version below the built-in plugin's version. A new build is picked up after the application restarts.
A plugin is a JAR file that adds one or more indicators to Velitask Telemitri. Telemitri finds plugins in configured folders and loads them when the application starts. A new or changed plugin is picked up after a restart.
An indicator is a visual component drawn on top of the frame in a project (in the composition Telemitri calls a Mixel). The indicator reads source data — speed, distance, elevation, coordinates, time — and renders it the way you programmed it: a speedometer, text, a chart, a map. The user adds the indicator to the canvas, adjusts its properties, and sees the result right in the preview.
A single plugin can contain several indicators. The minimal working plugin is one plugin class (the entry point) plus one indicator class.
| What | Where | Why you need it |
|---|---|---|
| Velitask SDK | github.com/velitask/velitask-sdk, binaries on JitPack | The set of contracts (interfaces) your plugin compiles against. Added as a dependency, not bundled inside the plugin. |
| plugin-example | github.com/velitask/plugin-example | A minimal working plugin. The recommended starting point — fork it and reshape it for yourself. |
| plugin-official | github.com/velitask/plugin-official | The official plugin shipped with Telemitri (speedometer, distance, slope chart, map, etc.). The canonical reference for non-trivial indicators. |
| JavaDoc |
https://javadoc.jitpack.io/com/github/velitask/velitask-sdk/<version>/javadoc/, e.g. 1.1.147
|
The exact contract of every SDK class and method. In the IDE — hover or Ctrl+Q on any SDK class. |
| Telemitri | velitask.com | The application your indicator will run in (Velitask Telemitri). Must be installed. |
In this course you will:
- install the tools and grab the reference project — Prerequisites;
- connect the SDK and build a JAR — Build and connect the SDK;
- install the plugin into Telemitri and put the indicator on the canvas — Install and run;
- set up a build after which the application restarts by itself with the new version of the plugin — Development loop;
- learn where to find API details when you want more — Next steps.
By the end you'll have your own indicator on the canvas and a working loop where a code change reaches the application with a single build command.
Next: Prerequisites.