Codename One 3.2 Release Notes
- Home
- 3.2 Release Notes
Summary
Version 3.2 sets the pace for many upcoming features & migration processes such as the new cloud infrastructure for push servers, modernized GUI builder etc.
Highlights - Click For Details
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.
Read more about this work in this blog post.
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.
Read more about this work in this blog post.
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.
Read more about this work in this blog post.
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.
Read more about this work in this blog post.
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.
Read more about this work in this github pull request.
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.
Read more about this work in this blog post.
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.
Read more about this work in this blog post.
Added Support For Facebooks “Invite A Friend”
New integration for Facebooks “invite a friend” feature that simplifies viral marketing for your app.
Read more about this work in this blog post.
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.
Read more about this work in this blog post.
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.
Read more about this work in this blog post.
Details
Added helper methods to
RadioButtonto create toggle buttons in a more concise wayTuned
SpanLabelto avoid unnecessary line breaksFixed an issue with
URLImage&ImageViewerthat caused the images not to download in some casesFixed
BigDecimalandBigIntegerto behave more like theirjava.langcounterpartsFixed alpha handling in
fillShape()on iOS as part of issue #1594Improved multiline support in
ContainerListwhich seems to have regressedFixed stack overflow with
SocketConnectionon iOS issue #1581Added ability to customize the completion list of the
AutoCompleteTextFieldvia codeFixed language id’s for iOS 9 which started adding variants into language codes
Fixed race condition in the AppArg property on iOS
Fixed an issue with reloading a resource file using a different DPI
Added ability to customize the long press interval
Added ability to create a
Containerthat encapsulates a component or group of components with one line of codeAdded ability to specify a
SimpleDateFormatfor a picker to allow a more custom lookEnhancements for issue #1572 that log dangling cursors in the SQL API into the console
Fixed issues with the
TimerAPI on iOSFixed issue with
SCALE_TO_FILLinURLImage, when rounding causesIllegalArgumentExceptionAdded constructor to border layout for simpler/shorter code
Added
validateTokento the Login frameworkFixed null pointer on
String.valueOf(Object)in the iOS VMAdded helper methods to
UIManagerto reduce the boilerplate when initializing projectsFixed vertical position in toolbar apps with morph transition
New utility methods to simplify sleep/wait calls
Added ability to mask images fetched thru URL image.
Added many new shortcut methods such as add methods to containers and text field getter for integer, new constructors for text fields.
Fixed upload to provide progress indication on iOS
Added ability for dialogs to dynamically adapt their size
Added command support to
SpanButton