Attachments, Network Speed and More

Post Image

Our email api only supported a single attachment until now. We just added an api that allows for multiple attachments which we will add in the next update. Notice that multiple attachments will only work on iOS/Android at the moment. Also in this update you would find a fix for the Twitter service (see the TwitterRESTService class) and some other...

Read More

Till The End Of The Form

Post Image

We've had pull to refresh for quite some time which is a really nice feature useful for pulling new updates. We also always had infinite lists using a smart list model approach, however up until now we didn't have a standard implementation of an infinite container with arbitrary components. In some of the newer web UI's such as Tumblr and Twitter ...

Read More
Post Image

Completion, iOS 7 Update And The 20M Mark

Exciting news this week, Chen FINALLY did what we procrastinated on for so long and wrote an auto-complete text field! This is really easy to incorporate into your code, just replace your usage of TextField with AutoCompleteTextField and define the data that the auto complete should work from. There is a default implementation that accepts a Strin...

Read More
Post Image

Folk Dancing And General Updates

Who would have thought Hungarian folk dance would be so entertaining! Can't. stop. watching.... Its been a busy week mostly spent on updating the build server code so its iOS 7 ready, during that time we also managed to get some other things done... These are some of the highlights: You may recall the ImageViewer class that I mentioned a while ba...

Read More

Codename One Article In SDJ

Post Image

Remember the Poker app we teased a couple of weeks ago? Now you can read all about it in SDJ, the entire article is in the downloadable PDF (please buy the magazine!). We'll try to post the full source code into SVN and get into more details about it here. If you have any questions/comments related to the article feel free to ask in the comments ...

Read More
Post Image

It's In The Bag

GridBag that is. So GridBagLayout is one of the most notorious of the layout managers in Java in fact for many developers it symbolizes the failure of the layout manager concept. That is the main reason why we never added it. Last week I had a very interesting conversation with a very prominent Swing developer and he asked me whether we had gridba...

Read More

Teamwork (and other things)

Post Image

While Java rocks for teamwork because of its strict and streamlined heuristics, our resource files are less ideal. However we are changing that in the next update to Codename One! The reason we chose to put everything into a binary resource file should be obvious: small size, portability. These are two critical features we had in mind when we desig...

Read More

Use The Source

Post Image

Update: minor correction to the build process about the build.xml issue in the Codename One project. To me the biggest advantage in Codename One over pretty much any other mobile solution is that its realistically open source. Realistically means that even an average developer can dig into 90% of the Codename One source code, change it and contrib...

Read More

In A Pinch

Post Image

Codename One has supported multi-touch and effectively pinch to zoom events from the very first release. However, it wasn't intuitive to write code that would handle pinch to zoom. We just committed new pinch callback events to component which effectively allows you to zoom in/out with gestures. Effectively if you are interested in handling pinch ...

Read More
Post Image

You Can Bet On It

Recently the guys from Software Developer Journal contacted us about writing a mobile gaming article, since quite a few Codename One developers use it to write games we decided to accept the offer and I wrote an article titled: "Writing casual games In Java for mobile devices". In this article we create a simple poker game mockup that is fully func...

Read More