Post Image

Questions of the Week 35

This week has been a bit slow with features and external progress as we've started to focus on the issues for the January release of 3.6. During December we'll probably pause blogging between December 22nd and January 2nd as it would probably get lost to the ether for most of our audience.

Read More
Post Image

Seamless Storage Encryption

We had support for bouncy castle encryption for quite a while but it is not as intuitive as we'd like it to be. This makes securing/encrypting your app painful and so we procrastinate and eventually skip that "feature" altogether. Frankly, I hate working on encryption it's painful... That's why we procrastinated on this feature until today!

Read More
Post Image

Default Validation Emblem

The validation framework makes it easy to verify input quickly and effectively. Up until now you had to define an emblem in order to create an error icon and if you didn't you had to define an "Invalid" UIID for every entry.
This exists by default for text fields and other types but is still a big hassle just to check that we have a valid email...

Read More
Post Image

TIP: Avoid 2D Arrays

In the first betas of Codename One we had a lot of bugs related to 2D arrays due to XMLVM. We no longer use XMLVM but the recommendation to avoid 2D arrays remains. We still use them in some occasions e.g. in the creation of a DefaultTableModel but the implementation discards them in favor of an ArrayList internally.

Read More
Post Image

Questions of the Week 34

While I find these posts useful I think it's time to re-think this post which is overly mechanical and only post interesting news from the week rather than "everything". So this week we'll try something new, I'll discuss the news in general and the questions/answers I find valuable only. I'll ignore the other questions and this should make the post more "digestible".

Read More
Post Image

Request Body, Dialog & Border Layout

Subclassing isn't bad but it becomes tedious especially if it's just there to implement something trivial. One of the pain points we had with the ConnectionRequest API's is the submission body wasn't as convenient as it should be.

Read More
Post Image

How you can Help Spread Codename One

I've written this in emails before and on quite a few occasions but this bares repeating. Gaining visibility in this industry is tough especially when the industry is driven by Google and Apple...
Despite years of effort most Java developers or mobile developers haven't heard about us and it's still an uphill battle for awareness.

Read More
Post Image

Connecting to a MySQL Database from Codename One Part 2: Pure Java

In my last post I demonstrated how to integrate a MySQL database into a Codename One app using Xataface as a web service layer. In this installment, I'm going to demonstrate how we can build an equivalent app using a Java web service layer.

Read More
Post Image

TIP: Cross Platform Update Available Strategy

One of the nice things in mobile development vs. desktop is the fact that updates are seamless. We supposedly don't need to worry about them and most newer OS's turn them on by default. This keeps are users with the latest version which is important, e.g. if we fixed a crucial bug or added a new monetization option...

Read More