Skip to content

EN 06 next steps

roosit edited this page Nov 15, 2026 · 3 revisions

Русский

Next steps

Your own indicator on the canvas, a working "build — the application restarts" loop — the foundation is ready. Next comes the substantive part: what the indicator shows and how it looks. This documentation is a general guide to the plumbing; API details and techniques live in three places.

Reference plugins

  • plugin-example — the minimal plugin you forked. Its code and wiki break down the "skeleton": the plugin class, the indicator, declaring properties, localization, the DB schema. The best starting point when you need to understand "how it works in the small".
  • plugin-official — the official plugin shipped with Velitask Telemitri (speedometer, distance, slope chart, map, etc.). The canonical reference for non-trivial indicators: reading sensors, drawing charts and maps, skins, figures. Look at it when your indicator outgrows "hello world".

JavaDoc

The exact contract of every SDK class and method is in the JavaDoc:

  • in the IDE — hover or Ctrl+Q on any SDK class;
  • online, after a release is published to JitPack: https://javadoc.jitpack.io/com/github/velitask/velitask-sdk/<version>/javadoc/, e.g. 1.1.147.

JavaDoc is the primary source for signatures and behavior. Conceptual overviews (this course, the plugin wikis) complement it — they don't replace it.

What to look for by task

I want to… Where to look
understand the plugin entry point, version, list of indicators IPlagin (JavaDoc) + plugin-example
draw an indicator and declare settings IIndicator / Indicator (JavaDoc) + plugin-example
add user properties (color, font, text template, SVG) the properties package (JavaDoc) + plugin-official
read source data (speed, distance, coordinates) ISource / sensors (JavaDoc) + plugin-official
have the plugin's own database PluginDatabase (JavaDoc) + plugin-example
localize strings localization in plugin-example

If something doesn't work

  • The plugin didn't appear in the indicator list — check that the JAR is in a connected folder, the manifest contains Velitask-Plugin-Class, the named class implements IPlagin and has a public no-argument constructor, and the application was restarted after the JAR was installed. The plugin's status is shown in the Tools → Plugins... window.
  • The plugin didn't load / an error on load — Telemitri checks the plugin's bytecode against a whitelist of allowed APIs. If the plugin refers to classes outside the list — network (java.net), files (java.io, java.nio.file, java.nio.channels), launching processes (Runtime, ProcessBuilder), internal JDK classes (sun.*, jdk.internal.*) or internal SDK classes (com.velitask.sdk.internal) — loading is rejected. Allowed are the classes of the SDK and of the libraries that are part of its API, plus java.lang, java.util, java.math, java.time, java.text, java.nio.charset, java.awt, org.json, and org.slf4j.
  • Fresh edits aren't applied — a changed plugin is picked up only after the application restarts. If you use the installAndReload task, make sure the Dev API is on and the build output contains a line with the application's response (see Development loop).

Back to the start: Introduction · Home.

Clone this wiki locally