Post Image

TIP: Animate Line Under Button

I got a question the other day about a UI design for an upcoming Codename One app. In this UI the title floated on top of the content as the content scrolled past and tabs were a part of the title area in the style of material design.
Our tabs component predated material design by many years and wasn't designed for this sort of UI. When you scroll out of a tab it scrolls out. Using it for this sort of UI doesn't make much sense. The solution was to use a custom title area with two toggle radio buttons representing each tab with a line below to indicate the selected button.

Read More
Post Image

Tutorial - Native Interfaces

Our original How Do I video covering native interfaces was pretty old by now and needed a serious refresh. I created a new one that goes into a lot of the details although can't go as deep as the subject matter is pretty huge to begin with.

Read More
Post Image

Pixel Perfect - Material Buttons

I've mentioned before that our biggest priority in 3.8 is refining the UI design of Codename One applications. This is a difficult task as it is so vague. There are so many small things we can do, when they are viewed in unison they seem approachable but as we start going thru the tasks priorities muddle. That's why we need feedback from you guys on what bothers you about the UI and its refinement.

Read More
Post Image

Kotlin Support Public Beta

We were prepared for an uphill effort in terms of getting Kotlin up and running... Turns out that getting the basic support out of the door was much easier than expected with a few expected caveats that will hopefully be acceptable moving forward. Steve did pretty much all of the work on this, I asked him to write a post where he explains the challenges as this isn't the first time he ported a JVM language to Codename One.

Read More
Post Image

TIP: Edit the Docs for Fun and Profit

On occasion I answer a question on stackoverflow, the discussion forum or elsewhere and I get a response of the form of: "this wasn't clear from the docs". We improved the docs but befitting a huge project run by engineers without a technical writer in sight this is a bit of a problem... The thing is that this is a problem you can fix regardless of your level in engineering or in English.

Read More
Post Image

Tutorial - Using Push Notification

Push gets a lot of support queries, it's a hard subject to wrap your head around especially with all of the conflicting and shifting landscape around it. To make matters worse every OS conceptualizes it very differently. I go into some of the really advanced stuff such as fallback behavior in the advanced course but basic stuff is still a crucial first step.

Read More
Post Image

Terse REST API

When discussing the features Chen slipped in just in the last minute of 3.7 I mentioned there were two such features but only discussed the desktop skin. The second one is a more terse/logical API for calling REST web services using the builder pattern.

Read More
Post Image

Desktop Skin

During the final stages of the 3.7 release cycle we had a lot of material to go thru and Chen slipped a couple of features that we just didn't have the time to discuss. One of those features is the new desktop skin which is a special case skin to debug desktop and JavaScript apps.

Read More
Post Image

TIP: Using Git for Codename One Projects

I wrote in the past about importing a Codename One demo from github but I left the whole working with git as an open subject. Mostly because I considered it a bit out of scope for the discussion. I have a section in the free online course about the anatomy of a Codename One application which I completely forgot to upload until I wrote this!

Read More
Post Image

Survey Results, Kotlin, Updates and News

It's been a hectic month getting the academy up and orchestrating the release. I have a mixed bag of updates and announcements we need to make. Specifically covering the surveys for the next academy app, the Kotlin survey, the coming update to 3.7.2 and future milestones.

Read More