
We are thrilled to announce the release of Codename One 6.0 – Chat. Codename One is an open source “Write Once Run Anywhere” mobile platform for Java and Kotlin developers!
With this release we introduced Codename One Build which is one of the biggest overhauls to the Codename One workflow since its inception. We also refined and updated many underlying technologies e.g. the xcode 10.1 migration, WKWebView support, push replies, badges on Android and much more.
You can check out the details below for the full review but first if you are new to Codename One here’s a short primer. Codename One is the only platform that:
Has Write Once Run Anywhere with no special hardware requirements and 100% code reuse
Compiles Java or Kotlin into native code for iOS, UWP (Universal Windows Platform), Android & even JavaScript
Is Open Source & Free for commercial use with an enterprise grade commercial support
Is Easy to use with 100% portable Drag & Drop GUI builder
Has Full access to underlying native OS capabilities using the native OS programming language (e.g. Objective-C) without compromising portability
Has full control over every pixel on the screen! Just override paint and draw or use a glass pane to draw anywhere…
Lets you use native widgets (views) and mix them with Codename One components within the same hierarchy (heavyweight/lightweight mixing)
Supports seamless Continuous Integration out of the box
To learn more about Codename One check out the about page you can download it for free right now.
Version 6.0 is nicknamed Chat because of the WhatsApp Clone application that was developed with it for the online course in the Codename One Academy.
Highlights of this Release
The top 5 features of this release are covered in this short video, check out further details below…
- Codename One Build — we can now monitor builds from Android and iOS. The app is also available for every device through web PWA. It works with push notification and is built with Codename One!
| __ | Currently the iOS version is still in beta due to the tedious appstore approval process |
|---|
xcode 10.1 Migration — builds on the Codename One cloud implicitly use xcode 10.1. We migrated from xcode 9.2 to satisfy Apples requirements, this has been seamless for the most part
VM Changes — we now support
java.util.Objectsand some additional methods from ClassNew Switch API — Switch replaces the old
OnOffSwitchAPI which is pretty old by nowReply Push Notifications — the final piece of RFE 2208 Rich Push Notifications is now implemented. You can now prompt a user for a reply via a push message
Support for Badges on Android — we can now mark an Android icon with a numeric badge
Material Design Infinite Progress — InfiniteProgress now has a material design mode that includes the custom circle animation we see in material design
WKWebView Support — Apple includes two implementations of a “WebView”. We now support both
CSS Improvements — underline border is now supported natively. Round rectangle is also supported natively and lets you activate the angle only on specific corners as per this RFE
Picker Improvements —
Pickernow lets you define start/end dateFontImage rotateAnimation —
FontImagelets you animate an icon so it rotates infinitely effectively making every component into anInfiniteProgressAdded Ownership to Component Hierarchy — ownership allows us to create a relationship between components other than
Component→ContainerAdded Animation Safe Revalidate —
revalidte()is a powerful tool but if it’s invoked when an animation is in progress it might produce unpredictable behavior. This method solves that problemButton Lists — List is discouraged but we still want lists that use a model to represent buttons, radio buttons and checkboxes button lists can fit in that niche
XML Mapping in Properties — this is still an experimental feature but XML parsing/generating is now supported for
PropertyBusinessObjectPWA Install Prompt — a new API lets us install PWA’s directly
New Full Screen API — the Desktop and JavaScript targets allow running the app in full screen mode by leveraging this new API
Facebook SDK Updated — we updated the Facebook SDK to use the latest version
There are many other features both big and small. Check out our blog and the github project history.
Onwards to 7.0 – Video
We took a lot of time for 6.0 but I’m not sure if that’s enough. We might take longer to deliver 7.0. Currently the timeline is unchanged but we’ll have to see.
We will have a Netflix clone tutorial in the Codename One Academy. Hence the moniker of the next release.
We Need your Help
If you think we are doing a good job and appreciate our help please help us by:
Or just sign up for enterprise accounts which literally keep the lights on here… If your company can afford it please take the time and upgrade to enterprise, this will allow us to work on the things that are important for your company!
Thanks for reading this far and if you have any thoughts/suggestions of any kind please let us know!
Discussion
Join the conversation via GitHub Discussions.