x 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.

Tags:

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. 

10 Comments
  • Options
    Close




posted on 29 Jan 2013, 14:40 7

1. gmracer1 (Posts: 646; Member since: 28 Dec 2012)


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

posted on 29 Jan 2013, 14:44 1

2. imeubeu (Posts: 59; Member since: 01 Jul 2012)


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

posted on 29 Jan 2013, 14:58

3. NexusKoolaid (Posts: 312; Member since: 24 Oct 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.

posted on 29 Jan 2013, 15:35 1

4. carlosechev07 (Posts: 39; Member since: 16 Oct 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.

posted on 29 Jan 2013, 15:37 1

5. sithvenger (banned) (Posts: 371; Member since: 25 Aug 2012)


Wowww

posted on 29 Jan 2013, 16:43 4

6. darac (Posts: 2156; Member since: 17 Oct 2011)


This is great..

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

posted on 29 Jan 2013, 18:55 1

7. xtremesv (Posts: 238; Member since: 21 Oct 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.

posted on 29 Jan 2013, 19:34 2

8. Joshing4fun (Posts: 1053; Member since: 13 Aug 2010)


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

posted on 29 Jan 2013, 20:17 1

9. MC1123 (Posts: 1249; Member since: 12 Nov 2012)


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

posted on 29 Jan 2013, 23:35

10. lyndon420 (Posts: 1785; Member since: 11 Jul 2012)


Totally awesome and innovative.

Want to comment? Please login or register.

Latest stories