This developer guide comes directly from the docs directory of the Codename One Git repository. The documentation is written in AsciiDoc and published from the main branch to several targets.

Where else to look

This guide is the conceptual and tutorial reference. These resources cover the rest:

Authors

This document includes content from the following contributors and from earlier community wiki edits:

Rights & Licensing

You may copy, redistribute, or print this document without prior permission from Codename One. You may not charge for the document itself, but charging for printing costs remains permitted.

If you print or reproduce sections and make changes, state that the result is a modified copy. Also link to the original source at https://www.codenameone.com/developer-guide/.

Conventions

This guide uses several notations for tips and further guidance.

When additional information breaks from the current tutorial flow, use a sidebar like this:

Sidebar

Dig deeper into details that don’t quite fit the current flow. Sidebars cover important detours. You can skip them while reading and return to them later.

Here are common conventions for highlighting notes:

This is an important note
This is a helpful tip
This is a general informational note. It may be interesting, but it isn’t crucial.
This is a warning. Pay attention to it.

This convention is used when referring to a button or widget to press in the UI. For example, press the button labeled Press Here.

Quotes appear as follows:

This is a quote

— By Author

Bold provides light emphasis for a specific word or two within a sentence.