Post Image

Live CSS Update

Up until last Friday CSS support has been a second class citizen, with the release of Codename One 4.2 we're making CSS a core feature. We also improved the builtin CSS support extensively!
Changes you make to a CSS file will instantly reflect in the simulator. You don't need to compile or do anything special. When you launch the simulator we open a CSS watcher thread that automatically recompiles and deploys the CSS whenever you save.

Read More
Post Image

Spatial, Pluggable SQLite

One of our enterprise accounts is working on a complex GIS application that needs fine grained control over mapping. In this case features such as native maps aren't useful. For some GIS applications the old MapComponent is more useful as it allows working with domain specific data. One of the features he needed was spatial support in the builtin SQL database.

Read More
Post Image

Facebook Clone Slow Landing

I mentioned before that I'm really behind on the Facebook Clone module but at least I was able to release the first few lessons by today which makes it fit into an April deadline. I'll try to release new lessons every day so we can do have the full module out before the end of May. At that point I'll release two new modules during June.

Read More
Post Image

Version 4.1 and Launch Screen Storyboards

This weekend we pushed out an update that also included new versions of the GUI builder and the designer. We didn't update the plugins but we still think it warrants the 4.1 version moniker even though we don't support it in versioned builds. Due to one of the enhancements we added in this update we had a regression in command behavior that we fixed with an update within a few hours.

Read More
Post Image

iOS Back Command Behavior and Facebook Clone Update

I've been working on the new Facebook clone app, I have a lot to say about that but I'll defer that for now. One of the things that Facebook did is provide a different experience in iOS & Android. I wanted to replicate that by using a more iOS style back behavior in my clone.

Read More
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