Fork us on GitHub

Media Controls and Print Developer Guide

Updates to the Codename One Academy and new comscore cn1lib from Diamond
Media Controls and Print Developer Guide

Media Controls and Print Developer Guide

I did a lot of work on the developer guide PDF making it more suitable to print, as part of this work I submitted the guide to Amazons KDP which means you can now order a physical book of the developer guide. I reduced the page count significantly for lower cost and image size requirements. As a result the book is much smaller but contains the exact same information in a denser package.

You can order the book on Amazon, make sure you select the print edition.

Media Controls & Stability

Steve did a lot of work on media over the past week and it should be more stable/consistent across platforms. One of the big changes is support for native video controls which up until now was platform specific. Starting with the next update you would be able to hint to the player whether you want native playback controls or not by using this code to show the native controls:

someMedia.setVariable(Media.VARIABLE_NATIVE_CONTRLOLS_EMBEDDED, true);

You can use false to hide them.

On Top Sidemenu Update & Regressions

We’ve put a lot of effort into refining the on-top sidemenu which is already showing a lot of promise. Unfortunately one of the changes we made caused a regression to the general functionality of Codename One. We’ve posted a fix and might push an earlier update to the libs before Friday to workaround this issue.

The on-top side menu is still off by default and will remain that way with the coming update due to these regressions. We still think it’s important to turn this on by default with enough time for the 3.8 release so this feature becomes stable.

So far the on-top side menu is a huge improvement especially in UI’s that contain native peers such as Maps where this feature is invaluable. The regular side menu causes a noticeable flicker which doesn’t happen with the on-top variety.

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.