Latest posts from Codename One.
Blog

5 Tips for Gamifying Your Mobile App
This is a guest post by Yaniv Nizan who is the CEO and Co-Founder of The SOOMLA Project , the platform for Creating In-App Purchase Stores for Mobile Games. Yaniv also writes in 4 different blogs including blog.soom.la , speaks in different industry events about gamification and game design and tweets @y_nizan . Gamification is the practice of using game mechanics in a different context with a goal to engage users ...

Performance Improvements On iOS & Some Other News
The other day one of our pro users sent us an app he is working on (which looks great and will hopefully be submitted to the gallery), he was experiencing major performance degradation on iOS compared to Android. Initially I couldn’t find anything wrong with the app so I started debugging and benchmarking the hell out of it. Turns out that we had a bug with table cells in which we made the cell transparent regardless of theme settings, this had to do with the old way in which we drew the table cell border which is no longer relevant. Anyway, this triggered a problem when he tried to set the cell background. His solution was to use a gradient and set the source/destination color to the same value! ...

Pull To Refresh & Several New How Do I videos
Chen has been busy adding one of the more addictive features yet to Codename One: pull to refresh. If you are unfamiliar with the Twitter app, this feature essentially means that you pull the UI downwards from the top and an arrow appears indicating that the UI will refresh once you lift your finger. This is now baked into Codename One allowing you instantly add this sort of UI pattern! ...

Hamburger Sidemenu
The title of this post might be a bit misleading… Hamburger? The Hambuger sidemenu is the menu style popularized by the Facebook app, its called a Hamburger because of the 3 line icon on the top left resembling a hamburger patty between two buns (get it: its a side menu…)! Up until now these things were a pain to implement smoothly in Codename One, but Chen wouldn’t let this rest and just committed support for this feature. Working with a Hamburger menu couldn’t be simpler! Just set the command behavior to side menu (in the Display class) and it just works. You can also set it by setting the commandBehavior theme constant in the ...

Inspecting Components
First, let me start with an apology for not blogging as frequently. Its been hectic these past few weeks and I could barely find the time to write this! That’s generally a “good thing(tm)”. One of my favorite things about working with Codename One is the GUI builder, it solves a lot of the headaches of handcoding/positioning elements into place especially when coupled with the Codename One LIVE! application. However, not all of us use the GUI builder and even when we do we sometimes end up writing code manually. ...

New Preliminary Library Support
We’ve just launched a new library project type for Codename One, this is very preliminary but we think this is pretty much the final direction we will take with the Codename One library support. To get started just create a new project and select the Codename One library project as your option. This will generate a cn1lib file when you build the project which you can just place in a lib dir of any new Codename One project in order to distribute binary libraries. You will need to use the Refresh ...

With 100,000 SDK Downloads, Mobile Development Platform Codename One Comes Out of Beta With 1.0 Launch
_ Tel Aviv, Israel _ – Mobile development platform Codename One is announcing the launch of its 1.0 version on Tuesday, January 29. After releasing in beta last June, Codename One – the first software development kit that allows Java developers to create true high performance native mobile applications across multiple mobile operating systems using a single code base – has garnered over 100,000 downloads and emerged as one of the fastest toolkits of its kind, on par with native OS toolkits. ...

New Blog Infrastructure
Due to technical reasons in our website we had to dump blogger which served us well until now. We aren’t deleting the blog but we will try to move it to this domain. Notice: This post was automatically converted using a script from an older blogging system. Some elements might not have come out as intended…. If that is the case please let us know via the comments section below. ...

Why Oracle won't issue Java for iOS anytime soon
They say that today all companies are software companies. In less than 5 years all companies will be mobile companies. So why isn’t Oracle “getting it”, why aren’t they on the iPhone, on Android and even Windows Phone? This OTN thread has been going on for some time now with people constantly chiming in with various uninformed opinions regarding their desire for an official Java for all platforms from Oracle. ...

How Do I???
Answering common question is what a FAQ is usually for, but usually that’s just not enough. A common presentation tip is: “Show, don’t tell”. Which is why we launched the “How Do I?” section in the Codename One website, this section contains short video tutorials demonstrating how to do small things in Codename One from creating your first Codename One application to monetizing and debugging it (upcoming). ...

Survey Results With Some Comments/Thoughts
Thanks for answering our questions about what you want in Codename One 1.1, your answers were very interesting and your comments are always helpful. Before getting to the actual results I’d like to cover some of the comments made in some of the responses which I think broadcast that we need to communicate what we have better: A frequent request is for more ad network integration _ “AdMob, iAd support and more” _ we are working on those but getting the agreements through and adapting them is difficult. These two specific networks are specifically difficult, Google is very rigid on AdMob and Apple is worse. We are constantly talking with networks about adding support for them (e.g. Zooz and Startapp which were recently integrated), but this is a time consuming slow process. ...

What Features Would You Like To See In 1.1
** Update: ** The survey was completed and its results are published. Thanks for taking the time to answer. We are already gearing to close 1.0 and are looking at the features we would like to get into 1.1 currently slated for May 2013. In that spirit we would love if you would take a few minutes to answer this quick survey. Notice: This post was automatically converted using a script from an older blogging system. Some elements might not have come out as intended…. If that is the case please let us know via the comments section below. Archived Comments This post was automatically migrated from the legacy Codename One blog. The original comments are preserved below for historical context. New discussion happens in the Discussion section. ...