Happy New Year - Looking Back & Forward

Post Image

We are closing 2014 which has been a pretty eventful year for us where we finally solidified Codename One, looking into 2015 we have a lot of great plans ahead! The new year seems like a great time to discuss some of our short/long term plans for Codename One as we move forward and our general thoughts. But first I'd like to open with the things we...

Read More

Stabilizing The New VM

Post Image

Its always a challenge to migrate to a new implementation and the new VM is no exception, we ran into several issues and are already hard at work fixing them. Currently resolved are: Issue 1149: ios.newVM causes exception on Calender.getTime() Issue 1151: array index out of bounds exception with ios.newV...

Read More

New Codename One iOS VM Is Now The Default

Post Image

New builds sent for iOS will now use the new iOS VM by default, this will deliver a lot of new features: stack traces, 64 bit, xcode 6+ support, iPhone 6/6+ native resolution, no stall GC etc. We spent a great deal of time stabalizing the new VM but obviously it can't be as mature as our existing XMLVM backend and so it is quite possible that you w...

Read More

Toolbar

Post Image

One of the common requests we get from users is more customization for the title bar area with more flexibility e.g. placing a TextField for search or buttons in various ways. Chen recently took action on this by introducing the new Toolbar API that replicates some of the native functionality available on Android/iOS and integrates with features su...

Read More

Lollipop Take 2 & iOS VM Stability

Post Image

Our previous attempt at getting the new Lollipop behavior on Android OS 5 didn't go as well as we had hoped. While we can't find any device that failed we got a lot of community reports of various 4.x devices that just stopped working right after we made the changes recommended by Google. We tried to resolve them using several different tricks all ...

Read More

JSON To Pojo Mapping

Post Image

While the webservice wizard in Codename One is pretty useful for many things it still requires a proxy and Servlet container which might not be the right choice for everyone. Steve Hannah, created a pretty cool set of tools to map POJO's (plain old Java objects) to JSON structures by using compile time object mapping. This eliminates the costs/issu...

Read More

Continuous Integration

Post Image

Building enterprise mobile apps can be pretty challenging especially when dealing with rapid changes, prototyping and corporate development requirements. One of the tools that has really revolutionized this field is Jenkins and related CI tools that allow developers to instantly track failures back to a specific revision of their code commits with...

Read More

Round At Codemotion

Post Image

I've had a lovely time giving a demo of Codename One at Codemotion Tel Aviv, one of the things that surprised me about the conference is that the sessions are so short (40 minutes) which gives very little time to actually get into code. So to fit both details about Codename One, Demo etc. and an app I had to narrow this down to the most barebone Co...

Read More

SMS & Custom Commands

Post Image

One of the problems in cross platform development is availability of functionality on one platform that is missing on another. Case in point sending an SMS message. Android, Blackberry & J2ME support sending SMS's in the background without showing the user anything. They even support a form of intercepting incoming SMS's to one degree or another (but that...

Read More

Static Garbage & Lollipop

Post Image

As we wrote before our new Garbage Collector is designed for amazing speed an never locks, this worked really well for most cases but we started running into weird crashes that took us deep into the seemingly simple GC code and exposed flaw in our "no locking" approach. It seems that our assumption that we can just mark all the static objects was f...

Read More