Codename One allows developers to write once and make apps for all major mobile platforms

Codename One allows developers to write once and make apps for all major mobile platforms
Mobile development may have just gotten quite a bit easier. Codename One is a free and open-source platform that allows developers to write an app once and have the code translated into native code for all of the major mobile platforms. Codename One had been in beta, but now it's out of beta and fully ready to use.

The company says that Codename One has been downloaded 100,000 times and has been used to create over 1,000 apps, which may not sound like a good proportion, but Codename One says that it is “one of the fastest growing toolkits of its kind”. 

Codename One is a Java-based platform which asks developers to write the code once in either Eclipse or NetBeans, and more importantly, developers need to build all of the different app components from scratch. This allows Codename One to avoid fragmentation issues with any mobile platforms. From there, Codename One translates the code into the native code of each platform, rather than HTML5 which is what other toolkits tend to do. So, on iOS the Java code will be translated into native C/Object C code and compiled using Xcode.

Obviously, Eclipse wouldn't need to be translated for use on Android, but Codename One also translates code for use on Windows Phone and BlackBerry. 



9. MC1123

Posts: 1256; Member since: Nov 12, 2012

this is interesting! lets hope major devs will get this! cant wait to see temple run on WP and BB10!!!

8. Joshing4fun

Posts: 1258; Member since: Aug 13, 2010

I'm hoping this means more apps for windows phone!

7. xtremesv

Posts: 299; Member since: Oct 21, 2011

It would've been better a toolkit for coding with Objective-C and translating to Java and C#, considering the best quality apps on iOS, specially for the iPad. Anyway, these "translating suits" will never substitute direct native programming, their scope is still limited.

6. darac

Posts: 2156; Member since: Oct 17, 2011

This is great.. Soon there won't be a practical excuse left for leaving out any app from any platform!

5. sithvenger

Posts: 371; Member since: Aug 25, 2012


3. NexusKoolaid

Posts: 493; Member since: Oct 24, 2011

Does Codename One translate pure Android code to other platforms, or are you required to code against their Android libraries which themselves have been translated for other platforms? I suspect the latter.

4. carlosechev07

Posts: 39; Member since: Oct 16, 2012

Nop, CN1 is a Java Based framework that implements LWUIT, it takes the generated java bytecode and translated it to binary compatible for iOS, RIM, WindosPhone and J2ME (feature phones). The results are very good quality Native Apps, the "write once, run anywhere" is on mobile pltaform again thanks to Codename One.. I have testing this framework from two months ago and the results are very good, rapid development and cross platform. Many details to improve and grow, but today is the first official release.

2. imeubeu

Posts: 59; Member since: Jul 01, 2012

i was up tell 4am last night writing html5, let's see where this goes, check it out now

1. gmracer1

Posts: 646; Member since: Dec 28, 2012

Now amazing!

Latest Stories

This copy is for your personal, non-commercial use only. You can order presentation-ready copies for distribution to your colleagues, clients or customers at or use the Reprints & Permissions tool that appears at the bottom of each web page. Visit for samples and additional information.
FCC OKs Cingular's purchase of AT&T Wireless