Status Of The New VM & New Demo

Post Image

Now that we are officially in the 64bit era of the iOS app store and our new VM is the default target it has gotten much stabler and helped us track issues that have been a part of Codename One since its inception. As part of improving the VM and fixing bugs we made a lot of changes to the VM including some core conceptual changes. One of the core...

Read More

Codename One Charts

Post Image

This post was written by Steve Hannah, one of the newest additions to the Codename One team and a long time community contributor. The upcoming update to Codename One will include a new package (com.codename1.charts) for rendering charts in your applications. This includes models and renderers for many common classes of charts including many flav...

Read More

Dr. Sbaitso

Post Image

I recently flew to dev day at Riga, I was quite ill before the trip so it was pretty difficult and that's the main reason I didn't make a trip report like I normally do. However, the conference and the people running it did seem like a whole lot of fun that unfortunately I was in no shape to enjoy. I did prepare a demo/presentation for the trip th...

Read More

Codename One Graphics Part 2: Drawing an Analog Clock

Post Image

This post was written by Steve Hannah, one of the newest additions to the Codename One team and a long time community contributor. The new Codename One graphics pipeline includes support for advanced 2D and 3D transformations. Last time I talked about some of the new features in Codename One’s graphics. Then I presented an example app to demonst...

Read More

Web App Build Target

Post Image

In the past we made several attempts at compiling Codename One applications to webapps, these were only partially successful. On the surface this seems relatively simple: just use something like GWT and the Canvas API to generate a web app. However, Codename One requires threads (for the EDT) and that's just not something you can really hide. GWT i...

Read More

Location, iOS Beta Testing & Better Input

Post Image

In recent versions of iOS Apple added the ability to distribute beta versions of your application to beta testers using tools they got from the testflight acquisition. We now support this with our crash protection pro feature, just use the build argument ios.testFligh...

Read More

Codename One Graphics

Post Image

This post we written by Steve Hannah, one of the newest additions to the Codename One team and a long time community contributor. This is the first in a series of posts about drawing graphics in Codename One. In this tutorial, we will create a rudimentary drawing app to demonstrate how to use the Shape API. Some Background Codename One has inclu...

Read More

Dr. Sbaitso Coming To Riga

Post Image

I'll be speaking at Riga Dev Day next week and I've been working on a demo for the conference. Back in my teen years I bought the SoundBlaster 1.0 which was one of the first affordable soundcards for the PC. One of the killer demos that shipped with it was a silly command line AI psychoanalyst by the name of Dr. Sbaitso that would try to dish out a...

Read More

The toArray(new Array) Antipattern

Post Image

A recent issue in the issue tracker on the new iOS VM reminded me of a serious pet peeve and big design mistake in the Java Collections API, something that is just unfixable and wrong yet appears often in code from developers trying to be clever. If you have a collection and you want to convert it to an array you can do something like: Object[] m...

Read More

Game On

Post Image

A Codename One community member Antonio Mannucci offered to release a gaming API that he created a while back. It took him some time but he finally delivered on his promise by releasing a cn1lib for simple 2D games in Codename One and a demo game to go with it. The project is still pretty rough in the sense that there is no real documentation or ...

Read More