Fork us on GitHub

Build Desktop Apps & XML Improvements

The next plugin update will finally include the support for b...

Build Desktop Apps & XML Improvements

Picture
The next plugin update will finally include the support for building desktop applications with Codename One and to celebrate this we added a How Do I video on this subject . Notice that this is a pro only feature so if you don't have a pro account this will fail on the build server.
The end result should be pretty similar to what you get in the simulator, I assume we will make some improvements as we move along to refine the user experience a bit further and adapt it for desktop development.

We also added support for XML user interface elements in the designer, if you activate team mode in the designer and save the resource file you will now notice that we generate a UI file for every form (as well as a file with no extension which is a binary file). Currently the UI file is write only to prevent issues with this approach from breaking existing usage. However, if you want to move to a more XML based file format right now you would be able to edit your top level XML file and set
useXmlUI="false".
Once you change that all changes to the .ui files will be incorporated when you reload the resource file and you will be able to work with XML files which might be convenient if you are doing elaborate team work. This is also convenient for the case of a recovery if a file gets corrupted you should be able to recover more easily and see what happened.

Notice: This post was automatically converted using a script from an older blogging system. Some elements might not have come out as intended.... If that is the case please let us know via the comments section below.

Share this Post:

Posted by Shai Almog

Shai is the co-founder of Codename One. He's been a professional programmer for over 25 years. During that time he has worked with dozens of companies including Sun Microsystems.
For more follow Shai on Twitter & github.