Fork us on GitHub

Stacks & Flipping Switches

After a while with several new features being off by default ...
Post Image

Stacks & Flipping Switches

Picture
After a while with several new features being off by default we are officially flipping the switch on newer functionality in the build arguments. Notice that you can always disable this new functionality by explicitly defining the appropriate build argument, however you should probably let us know what isn't working for you.

We are turning on the new Android/iOS graphics pipelines by default which should mean the new shape/transform API's should now "just work". To disable the Android pipeline use android.asyncPaint=false and to disable the iOS pipeline use ios.newPipeline=false

We are also switching on a virtual keyboard change for iOS which provides a more "native' feel for the iOS keyboard, it still has some unique edge cases but we feel it provides a better default experience overall. This virtual keyboard mode keeps the keyboard open once you start editing even if you scroll the form, its generally more like the native editing functionality in iOS. You can disable it using ios.keyboardOpen=false.

You'll notice that the new VM still isn't the default, we feel it hasn't reached the maturity level of the current VM and with JavaOne looming we don't want to disrupt the code stability too much.

We did find a new and exciting way to generate stack traces on iOS. If you use our standard logging mechanism using Log.e() you can now get full stack traces on iOS devices (not including line numbers) even for the older VM. The traces would look a bit "weird" but they are readable and can be used to locate the source of a problem.

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.