Programming interface overview
App
class
For a detailed overview of the App
class, see The App
class.
Premade UI elements
You can use the following premade app_components
to create user interfaces:
Menu
: scroll up/down and selectNotification
: pop up notificationsYesNoDialog
: create yes or no dialoguesTextDialog
: create text dialoguesLayout
: create menu layouts like the settings appTokens
:- constants for the display properties and colors
- functions for clearing the background and setting a color
Drawing on the canvas with ctx
You can use the ctx
package to draw lines, shapes, text, and images on a canvas.
Badge hardware
You can use the following hardware with the inbuilt interfaces:
Using APIs
To learn how to use APIs in your APPs, see Use an API in an app.