This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)(Learn how and when to remove this template message)
Screenshot of Codename One's "Hello, World!" app
|Original author(s)||Shai Almog, Chen Fishbein|
|Developer(s)||Shai Almog, Chen Fishbein, Steve Hannah|
3.7 / June 27, 2017
Codename One is a set of software development tools aiming to provide ›Write Once, Run Anywhere‹ code for various desktop and mobile operating systems (like Windows, macOS, Android, Blackberry, iOS and others). It was created by the co-founders of the LWUIT project (Chen Fishbein and Shai Almog) and first announced January 13, 2012. It was described at the time by the authors as "a cross device platform allowing you to write your code once in Java and have it work on all devices specifically: iPhone/iPad, Android, Blackberry, Windows Phone 7 & 8, J2ME devices, Windows Desktop, Mac OS, and Web. The biggest goals for the project are ease of use/RAD (rapid application development), deep integration with the native platform & native speed."
Developers using Codename One build their app using Eclipse, NetBeans or IntelliJ IDEA; they need the Codename One plugin to be installed on either IDE. Applications can be created either via the GUI builder tool or via code using standard Java. Running/debugging the application is possible via the standard IDE tools and the Codename One simulator.
To build a native application, developers sign in and register with the Codename One build server. They then send builds to the cloud based build server. Then they can download the native app from the build server to run on the device or submit to the store. Since the build server performs static translation of the code into a native application, it is no longer required after the application has been compiled.
Codename One also supports the ability to use an offline "in house" build cloud which removes the usage of Codename One build servers completely. This is important for governments and other businesses which may have regulatory requirements that preclude the use of the cloud.
The developers of Codename One define the platform as a native code generator, but clarify that native widgets are usually not used to render the user interfaces of Codename One applications. This allows for great portability, but has also come under fire by some critics of the lightweight approach.
Codename One claimed 200,000 downloads of its SDK as of release 1.1 in May 20, 2013. It has since released version 3.0 and is claiming 180MM applications installed on devices and 40,000 developers using the tool.