Fork us on GitHub

Desktop, Vision Mobile & Misc Changes

Vision mobile just released their new developer economics stu...

Desktop, Vision Mobile & Misc Changes

Vision mobile just released their new developer economics study, you can check it out here .

We toggled the new pipeline mode for windows phone to be the default, its clearly the way to go forward in the long run since we just don't have any other choice. All feedback on the new pipeline found it to improve performance significantly and generally reduces some of the paint issues that we run into with Windows Phone. However, there are a couple of reports pointing out that font quality has degraded with the new pipeline. We are looking into this but came to the decision that even if this isn't solvable we will stick with the new pipeline since the old one is just not viable for moving forward.

As part of our ongoing work with the new Android pipeline we added an experimental rendering mode that tries to automatically detect invisible layers and not draw them. You can enable this mode by invokingĀ  Display.getInstance().setProperty("blockOverdraw", "true");
This might improve performance for some cases and might improve performance on platforms other than Android. We'd be interested to hear if this mode break stuff in your application.

Desktop Build Arguments
Our recent desktop build support allows pro users to send builds for desktop applications. These builds are actually highly customizable using the following build arguments:
desktop.width - width of the window in pixels (defaults to 800)
desktop.height - height of the window in pixels (defaults to 800)
desktop.fullScreen - whether the application will run in full screen (true/false defaults to false)
desktop.adaptToRetina - doubles the pixels for a high resolution display (true/false defaults to true)
desktop.resizable - whether the window would be resizable (true/false defaults to true)
desktop.theme - the theme to use as the native theme defaults to "native". Can be "none" to indicate no theme or the name of any resource file within the bundle that you would like to use as a base without the .res extension. E.g. iPhoneTheme assuming you placed the iPhoneTheme.res file in your src directory.
desktop.windowsOutput - the installer type you want for Windows can be exe or msi defaults to msi

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.