We are thrilled to announce the immediate availability of Codename One 3.2!
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.
Codename One 3.3 is currently scheduled for January 27th 2016 and should continue the trend of iterative changes
that form a larger platform evolution arch.
Highlights Of The Release – 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
three months and feel confident enough to switch this into the default.
Read more about this work in this blog post.
You can also read the far more detailed list of release notes here.
18 Comments
Thank you guys for the hardwork,
My build always fail whenever I send a build using 1.8, I got a message that codenameone supports up to 1.7 java version… Does the build server support 1.8 now?
And may I ask if “background process while app is not running” would be implemented anytime soon?
You need to explicitly use the Java 8 support either by migrating your project to a Java 8 project type or creating a new project. Our server code converts Java 8 bytecode down to Java 5 making this seamless to our servers.
Background processes is something we slated and discussed for 3.2 and worked on a lot. The end result was just background notifications which IMO is the least important of the bunch. Hopefully this will land sooner rather than later.
Hi,
How do I add MultiImages or create UIIDs in the new GUI Builder.
Can we have a double click function on components to open their properties please.
Dragging components crashes the Gui Builder sometimes.
When I delete component, it doesn’t disappear from the tree and if I try to delete it again, the Gui Builder crashes.
When I select a Container that has one component inside, I got properties of the component and not the container itself.
Most of this stuff happens randomly.
Hi,
are you sure you are building with the right account? It should be logged to the console.
Turned out we had paypal issues and our account was terminated or something like that at the exact moment I installed 3.2. But is was unrelated.
Hi,
adding multi-images is part of the theme which is a separate feature altogether. You need to still do that with the old designer and it will be accessible then. The same is true for creating/manipulating UIID’s. We’ll replace the theme generating functionality in the old designer using a different tool, it was a mistake mixing everything into a single tool.
Single clicking a component in the UI opens its properties on the left side. If you pick it from the tree then it will be selected as you change the tabs. Notice that properties are now split into “Basic”, “Advanced” & “Events” (at the bottom of the tab). There is also a separate tab to control layout.
If you get crashes or errors a log would be nice, we will add some better crash logging for the next update and hopefully start fixing these bugs quickly.
Is the source code of the new gui builder already available for download?
Best regards
Tom
The latest version i get in intellij is 3.1
Our plugins aren’t open source and we are looking at the new GUI builder as a part of the plugin so at this time we don’t plan to open source it.
We are working on a partial rewrite of the IntelliJ plugin, this is taking some time.
Most features of 3.2 are available on IntelliJ via a library update.
After upgrading to 3.2, using the old GUI Builder, every time I make a change in a form I get a little popup saying “GUI Builder error – undoing”, but it doesn’t actually undo the changes made.
Can you run the GUI builder from command line and get the logged output when you get that error?
What’s the command I use for that?
java -jar ~/.codenameone/designer_1.jar
~ is the home directory if you are doing this in Windows and you would naturally need to reverse the slashes.
I’ll email you the stack trace.
I see the issue but I don’t think its a regression since this is pretty old code. Did you change something with the TableLayout in that hierarchy?
Can you change the column count to be larger or is this inaccessible in the GUI?
Yeah, I realized later that I was adding components beyond the TableLayout’s defined row count. But shouldn’t there be a more user-friendly error message?
It auto increments the row. This is a bug that we fixed.
That’s just a workaround until we provide a new version of the designer.