Post Image

Tutorial - DPI Explained

I've been working on improved learning materials for Codename One. One of the problems with videos is that I can sometimes unintentionally drag an idea that can be explained with a single image. DPI is one of those ideas, I'm assuming most of you already understand it but even if you do, I think this graphic helps put things in perspective.

Read More
Post Image

Map Component Positioning Revisited

I published two articles on MapLayout here and here. After all that work they are now effectively obsolete thanks to a new API in MapContainer that builds component placement directly into the map itself.

Read More
Post Image

Date Util

Timezones suck. Especially daylight saving. I don't mind moving the clock or losing an hour of sleep as much as the programming bugs related to that practice. The thing that sucks even more is Java's old date/time API.
This was publicly acknowledged by the Java community with JSR 310 which replaced the Java Date & Time API's however due to its complexity we still don't have it yet. As a small workaround we created a small API to perform some common date calculations.

Read More
Post Image

Build Native Interfaces - Camera Edition

I discussed the new Camera cn1lib last week. One of the motivations for doing it (besides the request from an enterprise account) was that of a new course module. Last week I added a new module covering the process of building the camera cn1lib...
We have several online videos (both in the course and outside of it) covering native interfaces. So why do we need another one?

Read More
Post Image

TIP: IntelliJ/IDEA RAM

I'm used to NetBeans but if I will ever switch it will be to IntelliJ/IDEA. It's a great IDE. I just need to rewire the muscle memory of my fingers for it. The Codename One plugin support on IntelliJ should be as good as the NetBeans support as the code is very similar. There are however a couple of pitfalls that a lot of people trip over which I'd like to discuss.

Read More
Post Image

Camera Kit - Low Level Camera API

When we introduced support for z-ordering of peer components in Codename One we listed two major targets. The first was already available: Map. The second was still pending: Camera.
Our current `Capture` API is very high level and removes a lot of the control from the developer. In order to give developers a high level of control we created Camera Kit.

Read More
Post Image

Android Build Target 27 Migration

A while back Google announced that starting in August 2018 they will no longer accept applications targeting API levels below 26. With that in mind we plan to migrate our builds to use API level 27 which brings with it a lot of great new features but will probably break some things as we go through the migration. Please read this post carefully, I'll try to cover everything.

Read More
Post Image

TIP: Uninstall cn1lib

A while back a question was asked on stack overflow How do you uninstall an extension using the CodenameOne Settings tool in NetBeans?

Read More
Post Image

Codename One 4.0 "Taxi" is now Live

We are thrilled to announce the release of Codename One 4.0 - Taxi. Codename One is an open source "Write Once Run Anywhere" mobile solution for Java and Kotlin developers!
This new release overhauled the way Codename One is updated, added support for Progressive Web Apps (PWA's), overhauled device skins & updated the backend iOS build tools. A major focus of this release is better support for peer (native) components, stability, unit testing and continuous integration.

Read More
Post Image

Survey Results (2018) Upcoming Apps

I already teased about the surprises I got from our annual survey results and there are still quite a few surprises but as more people filled out the survey some of the big surprises tamed and a lot of interesting results emerged. I also found the comments very interesting so I'll go over the numbers/comments and provide my thoughts. If you think I misinterpreted the results please let me know...

Read More