PhoneArena is looking for new authors! To view all available positions, click here.
  • Home
  • News
  • 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

Posted: , by Michael H.

Categories:

Share:

Discuss 10
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. 

Share:

Discuss10

10 Comments

  • Options
    Close




Want to comment? Please login or register.

1. gmracer1 posted on 29 Jan 2013, 14:40 7

Now that...............is amazing!

2. imeubeu posted on 29 Jan 2013, 14:44 1

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

3. NexusKoolaid posted on 29 Jan 2013, 14:58

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 posted on 29 Jan 2013, 15:35 1

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.

5. sithvenger (banned) posted on 29 Jan 2013, 15:37 1 1

Wowww

6. darac posted on 29 Jan 2013, 16:43 4

This is great..

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

7. xtremesv posted on 29 Jan 2013, 18:55 1

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.

8. Joshing4fun posted on 29 Jan 2013, 19:34 2

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

9. MC1123 posted on 29 Jan 2013, 20:17 1

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

10. lyndon420 posted on 29 Jan 2013, 23:35

Totally awesome and innovative.

Want to comment? Please login or register.

Hot Phones

  • Samsung Galaxy S4Samsung Galaxy S4
  • Apple iPhone 5Apple iPhone 5
  • Samsung GALAXY Note IISamsung GALAXY Note II
  • HTC OneHTC One
  • Sony Xperia ZSony Xperia Z
  • Google Nexus 4Google Nexus 4
  • LG Optimus GLG Optimus G
  • Nokia Lumia 920Nokia Lumia 920