API Demos
API Demos is included in the standard system image on every supported phone. Open API Demos from the launcher to explore the graphical interface.
The catalogue opens immediately. Choose a section with OK. Back from an example restores the section or search results with the same selection; Back from the catalogue closes the application. Use Search to open a search field. Search matches translated names, English names and C API names, and keeps the query when you return. It uses the shared keypad text controls. Help on a selected example explains its result and lists the APIs it uses.
The eight sections cover lists; forms and text; commands and dialogs; graphics and input; appearance; data and language; lifecycle; sound and vibration. Examples combine related actions: change a list’s rows, complete a form, edit a date or elapsed duration, cancel an operation, draw on a Canvas, or compare direct and staged software frames. Layout, controls and fonts follow the screen profile.
Preferences are stored in the application’s private state directory. The example distinguishes the values in memory, the file’s visible contents and the result of saving; follow the application-state contract when using these APIs. Sound and vibration show availability before an explicit Start or Play command, then report request results and errors. Sending a request or queueing audio frames does not establish that a physical effect occurred. Sound pauses while the application is hidden; vibration stops. Closing the relevant example releases its resources.