Open Source & Free  

Tutorial – Background, Images, Borders and Gradients

Backgrounds include a lot of nuance, especially the part covering the priorities which I start with in the tutorial below. Because of that this is one of the longer how do I videos I’ve done in a while as there is just so much to cover. I still had to cut a lot of stuff Tutorial – Background, Images, Borders and Gradients

Don't Touch That Code

Last week scrolling broke and we had a few relatively complex regressions. This can be traced back to a change we did to the getComponentAt(x, y) method, this change in itself fixed a problematic bug but triggered far worse bugs and we just had to revert the whole thing…​ So why did we even do Don't Touch That Code

TIP: Use Weak References

One of the less familiar features of Java is the mess of weak/soft/phantom references. This is a confusing mess and it’s compounded by the fact that other languages (such as the reference counting Swift/Objective-C) have used these terms with a different meaning. To simplify this weak references in a garbage collected language allows you to TIP: Use Weak References

Tutorial – Versioned Builds/Repeatable Builds

Versioned builds are one of the more confusing features of Codename One mostly because the word “version” is so overloaded with meaning. The feature itself is remarkably simple as explained in this video tutorial. Versioned builds allow you to build against a fixed point release version of Codename One, that means that if we break Tutorial – Versioned Builds/Repeatable Builds

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. Media Controls and Print Developer Guide

TIP: Using Lombok and Other tools

A few weeks back maaartinus asked on stack overflow whether we can get lombok working with Codename One. After a short back and forth it seems that this was as easy as I’d hoped and he was able to get it working without a change. Personally, I like our approach of property objects more but TIP: Using Lombok and Other tools

Tutorial – Desktop and JavaScript Ports

Codename One has ports for Mac, Windows & even for the browser. These are often confused and the introduction of the UWP port which also includes some overlap only made matters worse. Each one of these ports covers a segment that the other ports don’t. In this tutorial I try to separate the various ports Tutorial – Desktop and JavaScript Ports

Security, Map Tutorial and ComScore

I’ve added two modules recently to the deep dive course in the academy. These are a part of a trends together with the SMS activation posts I’ve done over the past couple of weeks. These are all preparations for the upcoming Uber demo that will launch before the end of the year. So the first Security, Map Tutorial and ComScore

TIP: Activation UI and the Builder Pattern

I wrote two posts about the SMS activation process. In the first I discussed using the Twilio API via REST and in the second I discussed the native interfaces for SMS interception we can use in Android. Now it’s time to put this all together and create a single API that’s fluid. It should include TIP: Activation UI and the Builder Pattern

Tutorial – Offline Build

Offline build is a pretty complex topic which is why we opted for the online build process in Codename One. It allows for simple install/build and doesn’t require a Mac. However, if you work for a bank or a government agency using a cloud solution is sometimes an insurmountable roadblock. That’s why we introduced the Tutorial – Offline Build

Always on Top and Style Parser

It’s been a busy week with 3.7.3 released and a lot of new things. Diamond made several PR’s over the past couple of weeks but one interesting PR is an “always on top” feature for the simulator which is exactly what it sounds…​ This is very useful for me personally as it will allow me Always on Top and Style Parser

TIP: Intercept Incoming SMS on Android

Last week I talked about using SMS to activate your application which is a pretty powerful way to verify a user account. I left a couple of things out though. One of those things is the ability to grab the incoming SMS automatically. This is only possible on Android but it’s pretty cool for the TIP: Intercept Incoming SMS on Android