Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Сross-platform App Development with Codename One

1,408 views

Published on

Is the good time of Java world "Write once, run anywhere" coming back? Codename One is the only Java iOS tool that currently comes close to this concept. Java bytecode is translated to native C/ObjC code and compiled using Xcode for seamless mobile application development. This presentation delivered on #UAMobile 2014 is the review of this open-source platform.

Published in: Technology
  • Be the first to comment

Сross-platform App Development with Codename One

  1. 1. Cross-Platform Cost-Effective Customer-Centric Mobile Dev Aviram Eisenberg - UAMobile, Kyiv 2014
  2. 2. About Me Father of 3 wonderful children High-Tech Professional for the last 30 years - Computer geek in my teenage days - Platoon commander in the Army Intelligence (computer related) - Computer Science Graduate from the Technion - Chief Architect at Mind CTI - Founder and CEO Of Ignite – a global IT company - Chairman of the Israeli R&D Managers forum Lives in Kiev (Ukraine is my second home!) 2
  3. 3. The Pains of a Mobile Developer… Multiple languages: iOS = Objective-C, Windows Phone = C#, Android = Java/Dalvik Not even mentioning blackberry, symbian Multiple Environments: iOS = Requires Mac, Windows Phone/BlackBerry = Require PC • Devices - There are over 11,868 Android devices as of this writing • Resolution – the endless “cosmetication” work… OS Versions - differ a great deal e.g. iOS 7, Android 2-4, Amazon Kindle, BB 10 and that’s only a partial list! 3
  4. 4. The Cruelty of the Mobile Manufacturers The typical flow of a new technology Hype->Early adopters->Standardization->Peak->Commodity->decline The flow of mobile technologies: Hype->early adopters->NO standardization-> technological hell->the wild-wild west… Why??? Because they can… Not enough competition – the power is in the hand of too few providers… They make $$$ on closed gardens! 4
  5. 5. The Three C’s Cross-Platform Seamless support for all major platforms Cost-Efficient: Write once – Run Anywhere (WORA) Focus on a single technology – easy to learn Seamless handling of screen resolution One click build Easy to debug Customer-Centric User-friendly interface Leverage the power of the app markets Maximize monetization options 5
  6. 6. What are the Cross Platform Alternatives? HTML5 PhoneGap Native – MonoTouch – C# for IOS, Android, Windows – Xamarin – C# for IOS, Android, Windows – Appcelerator – JS Engine to generate Apps – Corona – Lua main target is gaming – Adobe Air - gaming – Unity 3D - gaming 6
  7. 7. HTML5? Phone manufacturers have no incentive to improve PhoneGap support The performance problem with HTML - reflows. Not realistically fixable No support for multi DPI (screen density difference) on device Hard to debug device issues JavaScript is remarkably hard to optimize (at the JIT level) Fragmented implementations webkit on Android != webkit on iOS http:// www.codenameone.com/3/post/2013/07/why-mobile-web-is-slow.html 7
  8. 8. Meet the promised land CodenameOne allows Java developers to build true native apps for ALL mobile devices through FREE & OPEN source platform! 8 http://www.codenameone.com/files/theme/ slider-slide-1.jpg http://www.codenameone.com/files/theme/ slider-slide-1.jpg
  9. 9. Comparison table 9
  10. 10. Why CN1 is different? Because It’s Java! – The most cross-platform technology. Period. – Known IDE Plugins – Tools: GUI Builder, Simulator, Theme Editor Because it’s User friendly – cross-platform user-centric UI • Because it’s flexible – Draws everything! • Because it’s Fast – Cross compiled to C on IOS, OpenGL for graphics – Ported on top of the gaming graphics • Because it’s Easy – Cloud compile 10
  11. 11. Better than Native As fast or faster than native Easy & seamless More portable than HTML5 Key benefits • Native access • High performance • Deeply customizable • Leverages existing Java skills • Rapid development & easy maintenance! 11
  12. 12. CN1 Structure 12
  13. 13. Features • GPS • Maps • Push • Web browser • Themes • Fonts 13 • Camera • Payment • Video • Social • Analytics • Storage And much more… • Network • Ads • I18N • L10n • E-Mail • SMS
  14. 14. How Does It Work? Install Codename One Plugin In on your IDE of choice: Eclipse, NetBeans, InteliJ Build using the Codename One GUI builder Debug the App using the CN1 simulator (or real devices) Cloud based Macs/Windows/Linux machines build native app for you • Easiest one-click-build-to-device process 14
  15. 15. Achievements (Jan 2014) 25M devices running Codename One applications today 10K+ registered developers SDK reached NB #5 most downloads on all time 3,500 unique apps Version 2.0, released on December 2013 proven WORA (Write Once Run Anywhere) Vibrant Community – code contributors, bloggers, ~1000 messages a month in the forum Extensive - Over 20 man years invested, 0.5M lines of code, thousands of APIs 15
  16. 16. Become a CN1 Developer! Ignite is the sole distributor of CN1 in CIS region Get trained and certified on CN1 One month training in Israel, all travel expenses covered CN1 certification, full mobile coverage! Learn from the experts – work directly with CodeNameOne! Hands-on training, on-the-job training Get projects Make your customers happy Become part of the fastest growing community in the dev world 16
  17. 17. 17 Thank you for your attention! Follow me facebook.com/aviram.eisenberg twitter.com/aviram linkedin.com/in/AviramEisenberg AviramEisenberg.com

×