Open Source & Free  

About Us – What is Codename One and how Does it work?

About Us – What is Codename One and how Does it work?

Learn more about Codename One and getting started resources.

What is Codename One?

Codename One allows Java developers to write their mobile apps using Java or Kotlin. It generates native OS binaries that you can upload to Apple/Google/Microsoft etc.

Codename One was founded by ex-Sun/Oracle mobile developers based on an open source project started back in 2007 within Sun Microsystems. The core vision of Codename One is to actualize the WORA (Write Once Run Anywhere) mantra of Java in the age of mobile devices.

To enable that vision Codename One created a one of a kind industry leading set of tools that allow Java developers to build native mobile OS applications with a single code base.

Codename One works with all major Java developer environments (IDE’s) NetBeans, Eclipse, IntelliJ/IDEA or VSCode.

How does Codename One work?

To understand how Codename One works, its history etc. check the developer guide (also available as a PDF). It provide a birds eye view in the first chapter.

You can also refer to this stackoverflow answer. There is a video that goes into further details here (it’s a bit long).

The gist of this is that Codename One requires you to obey some restrictions in the way you develop Java applications and use our plugin/API. Once you abide by those the Codename One tooling makes portability seamless.

How do Codename One Apps Look?

They can look like anything, check out the demos section where you can see the diversity and some of the potential of Codename One apps.

Is Codename One Free?

Codename One has a free version and paid versions. So yes & no.

The base product is open source but our build system requires servers (Macs, Windows machines etc.) and we place a quota on their usage to prevent overuse which would deprive paying users from service.

With the free version, there is a JAR size limit of 1 – 8.5mb. Notice that this is a very high limit as it applies only to your bytcode and not to the Codename One builtin API’s and you can create pretty remarkable apps within this limit (all our demos fit within that limit).

The free tier allows you to use your generated apps commercially and place have no restrictions on them. There are no nag screens or license limitations!

There are many additional benefits and additional features you can get in the paid plans, see the pricing details here.

Where can I learn more?

For more about Codename One check out this post covering the extensive set of tutorials/docs/videos.

You can ask questions in stackoverflow with the codenameone tag or you can also ask in the discussion forum. Our engineers guarantee a response within 24 hours for such questions.

Notice that Codename One assumes you already know Java so we don’t have any tutorials for complete beginners. However, we do have some courses available at Codename One Academy.