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

Cats in Toolbars

Post Image

Chen spent some time working on some Toolbar effects such as the rich title areas made popular by social network apps such as G+ & Twitter. The new Flickr demo in SVN now shows a really cool ability to fold the title bar as we scroll down and expand it when we scroll up. It also shows an image based title area that can fade out of view during scro...

Read More

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