Skip to content

Releases: codenameone/CodenameOne

Codename One 3.2

27 Oct 12:19
Compare
Choose a tag to compare

You can read the full release announcement and details here.

Notice that you should always install the latest release of Codename One thru https://www.codenameone.com/download.html

Highlights Of The Release

New GUI Builder (technology preview)

The new GUI builder is a big departure from our existing designer tool. This tool is now in "technology preview" status meaning that its not quite ready for prime time but we want feedback on its direction and issues.

Local Notifications on iOS and Android

Local notifications are similar to push notifications, except that they are initiated locally by the app, rather than remotely. They are useful for communicating information to the user while the app is running in the background, since they manifest themselves as pop-up notifications on supported devices.

Introduced New Push Server Architecture

We completely overhauled the way Codename One handles push services and added several long time RFE's to the mix.

Added Ability for cn1libs To Include Build Hints

cn1libs now include the ability to include build hints thus integrate more seamlessly without complex integration instructions.

Improved iOS/Android Rendering Speed

Thanks to a community contribution we took a deep look at the rendering code and are using faster code for tiling/string rendering.

Added A Permanent Side Menu Option

The Toolbar API has really picked up, in order to make it more useful for Tablets we added the ability to keep the SideMenuBar that's builtin to it always on.

Get All Styles - Simplified Handcoding Theme Elements

getAllStyles() allows writing code that is more concise to perform an operation on multiple style objects at once.

Added Support For Facebooks "Invite A Friend"

New integration for Facebooks "invite a friend" feature that simplifies viral marketing for your app.

Terse Syntax For Building UI's

A shorter syntax for adding components and labels into the UI resulting in less code for the same functionality.

Java 8 Language Features are now on by default

We fixed many things in this implementation over the past three months and feel confident enough to switch this into the default.

Codename One 3.1

23 Sep 11:31
Compare
Choose a tag to compare

You can read the full release announcement and details here.

Notice that you should always install the latest release of Codename One thru https://www.codenameone.com/download.html

Highlights of this release include

Java 8 Language Features

Support for Java 8 features such as Lambdas, try with resources etc. This is a beta grade feature but is showing great promise so far.

iOS Certificate Wizard

Simple generation of certificates and provisioning for itunes without a Mac using a wizard interface.

Authentication Framework

Provides the ability to signin to various services in a generic way including builtin support for Google, Facebook and generic oAuth 2.0 services.

Font Icons

Support for using icon fonts to represent images in the UI thus reducing the reliance on multi-images.

Better Crash Reporting

As part of migrating away from Google App Engine we shifted crash reports to use new servers which make them far more usable by embedding the logs directly into the email body.

Codename One 3.0

23 Sep 11:28
Compare
Choose a tag to compare

You can read the far more detailed release announcement here.

Notice that you should always install the latest release of Codename One thru https://www.codenameone.com/download.html

Highlights of this release include:

New iOS VM

When Codename One debuted we used XMLVM as the underlying iOS virtual machine abstraction. XMLVM is an excellent product but its unmaintained and its goals are too different from the goals of Codename One. The new VM includes some features that would be remarkably hard to achieve with XMLVM such as: proper stack traces, faster builds (2x overall!), smaller code size, concurrent GC, deep OS binding (String - NSString relationship) etc.

JavaScript build target (technology preview)

Allows compiling Codename One applications to JavaScript client side webapps without server side code. Notice that this support includes threading support.
Notice that this feature will be restricted to enterprise developers once it enters beta.
The Java VM work is based on TeaVM an OSS Java-JavaScript VM.

Charts API

The charts API supports drawing a wide range of charts such as bar, pie, line etc. It supports animating charts and is based on the aChartEngine Android API.

New Demos

  • Property Cross - Browse properties for sale in the UK using a JSON webservice. Shows off JSON webservices, InfiniteScroll, URLImage etc.
  • Dr Sbaitso - Demonstrates an AI bubble chat interface, includes text to speech using native interface and more.
  • Photoshare - A simple social networking app that allows sharing photos
  • Charts - Demonstrates all chart types
  • Geoviz - Performs statistic analysis over US population based on locale specific data
  • Flickr - Demo for the Toolbar class showing special title area effects

New Themes

New beautiful and functional themes are now available through the plugins and the designer tool.
Toolbar API
More advanced and highly customizable API for handling the title area. It allows adding search to the title, animating its appearance/folding, placing commands arbitrarily and using the side menu.

URLImage

Simplified image download to an icon or preview, that allows to implicitly apply special effects to said image (e.g. round corners, scaling etc.).

Built demos into the Eclipse/NetBeans Plugins

The main Codename One demos are now built-into the plugin so you can try them immediately without fixing classpaths and without downloading additional software.

New Android graphics pipeline

We rewrote the graphics pipeline on Android to work better in Android 4.x+ and use hardware acceleration where applicable. This new pipeline also includes support for the Shape & transform API's.

Regular expression and validation support

We added a new regular expression package and a new validation framework that simplifies error highlighting for input. As part of that work we also presented a rudimentary masked input UI.

High DPI Image Support

There are 3 new DPI levels in Codename One all of which are now supported by the designer: DENSITY_560, DENSITY_2HD & DENSITY_4K.

Support for opening HTML files with hierarchies & Tar support

The builtin HTML support was improved by providing a way to open a hierarchy of files and not just a self contained HTML file. As part of this improvement we also added support to the tar file format.

New Morph & Flip Transitions

The morph transition was inspired by the Material design UI, converting a component on one form to a component on another form. The flip transition provides an impressive 3d effect thats trivial to apply to any form or transition.

InteractionDialog

A new "modless" dialog that can "float" on top of the UI using the layered pane capability of the parent form

Significantly enhanced developer guide

We redid the developer guide from the ground up converting it to asciidoc and integrating it into the website in a more fluent way. We increased its breadth by over 50%.

iOS Beta Test Support (testflight)

Apple introduced a new way to test mobile applications for up to 1000 beta testers based on the testflight framework (but not to be confused with the old testflightapp.com product). We now support distributing apps via this process for pro users.

MiG layout support

MiG layout is one of the popular cross platform Java layout managers that works across FX, Swing, AWT and now on Codename One as well...

Facebook improvements such as publish support & version 2.0 API

Facebook made a lot of changes to its API such as requiring a special publish permission and migrating graph calls to version 2.0. Both are now integrated into Codename One.

Added webservice wizard to simplify client-server calls

The webservice wizard allows us to generate RPC calls to the server including servlet and client stubs.

Support for badging the native OS icon on iOS

We now support updating and setting a badge on an app icons in iOS devices.

TCP socket support

We finally added support for TCP sockets into Codename One.

Advanced keyboard input in iOS that doesn't fold implicitly

This is an implementation of a feature that was requested quite a while back. Historically, when moving from one text field to the next the VKB would fold and reopen. We now allow you to seamlessly move between input fields.