Post Image

Security Issues of Cross Platform Tools

A couple of weeks ago I answered a question on Quora about the security of cross platform tools. I try to rise about my confirmation bias when discussing these things. I won't discuss Codename One in this context or any other specific tool. Only general ideas.

Read More
Post Image

Moving to API Level 29 and CEF Update

Steve just updated our CEF support which should now work on all platforms. We updated the original post with additional information. We've also updated the build servers to use API level 29 on Android.

Read More
Post Image

New Settings UI

With today's update we're releasing a design overhaul for the settings (preferences) application. This overhaul will improve the look and reliability/consistency of this app which is core to Codename One. During this transition period we also have the ability to go back to the legacy UI for 100% compatibility but it will be removed.

Read More
Post Image

Big Changes and CEF

Today we released one of the biggest changes to Codename Ones simulator in ages. We added the ability to use CEF (Chrome Embedding Framework). This is currently off by default but even if you don't use it you might feel the impact so it's crucial that you read this post.

Read More
Post Image

Diagonal Badging

Recently I got a question on stackoverflow about doing a diagonal badge that's actually quite similar to the one on our website. This isn't hard to do in Codename One but it requires a bit of tinkering so here's how you would implement that.

Read More
Post Image

Exif Orientation Tag and Smart Downloads

On some devices, `Capture` APIs return images with the correct orientation, meaning that they do not need to be changed to display correctly; on other devices, they return images with a fixed orientation and an EXIF tag that indicates how they must be rotated or flipped to display correctly.

Read More
Post Image

Dark Mode

We recently added support to detect whether a device is running in dark/light mode based on this issue. Some of the code in the implementation is also derived from that issue submitted by Javier.

Read More
Post Image

Moving Away from Java FX

Codename One itself never depended on JavaFX. This kept us small and performant. However, we need JavaFX to support HTML and media in the simulator and on the desktop ports. This was a choice we made easily back in the Java 8 days. JavaFX was integrated into the official JDK and this was an easy choice to make.

Read More
Post Image

Samsung Lowers Resolution Randomly

A few weeks ago we got this question on stackoverflow. At first I didn't think this issue was special... But as the investigation continued it became clear that we're facing a weird issue...

Read More