Latest posts from Codename One.
Blog

Offline Builds
We just added a new offering to our pricing page , offline server. This option isn’t for everyone since it requires quite a lot of effort to setup and in fact includes less functionality than even the pro subscription. The main reason for this offering is the old-school regulated industries where a cloud build solution just isn’t an option. In those cases you can still enjoy the benefits of our cloud architecture within the organization. However, you would need to setup at least 4 separate servers in order to get these benefits so the total cost in hours/hardware and licensing is pretty steep. ...

Pisces & String Picker
Steve just released a very important cn1lib that effectively provides developers with elaborate low level graphics primitives to draw pretty much everything on all platforms. The main use case for this library is for charts and graphs which up until now we had to do with the relatively limited graphics capabilities of Codename One (which are currently optimized for speed/portability). Pisces is a rendering engine developed at Sun that was designed to be very portable, it performs all the rendering in Java and can thus do relatively advanced graphics even on J2ME devices that don’t necessarily have such graphics capabilities. The downside is that it can’t be fast since it effectively can’t use the GPU. ...

Upcoming Features
December has been pretty busy with the release of 2.0 but January will probably be MUCH busier since we have a major backlog of features requested by enterprise and pro users. We are already well under way with quite a few interesting features but most of them won’t be landing for the next couple of weeks since we need the trunk to remain stable for now. Before I get started, if you are interested in Socket support for Codename One and native interface’s you should check out the work Steve Hannah did on a socket library for Codname One. Its also a great reference implementation on how one would write a native library implementation! ...

With 25m Device Installs, Mobile Development Platform Codename One Announces Version 2.0
Tel Aviv, Israel – Mobile development platform Codename One is announcing the release of its 2.0 version on Wednesday, December 25th. In the 7 months since the May release of 1.1 Codename One has reached profitability, quadrupled its paying subscriber base and was downloaded by 500,000 developers. Codename One is a one of a kind solution that allows Java developers to build native applications that work on all mobile devices seamlessly. It combines an open source client architecture that integrates seamlessly with all major Java development environments: Eclipse, NetBeans and IntelliJ IDEA. To leverageits one of kind cloud build system. This unique architecture enables Java developers to build iPhone applications without owning a Mac or Windows Phone applications without a Windows 8 machine. ...

Release Notes For Codename One 2.0
We will release the full Codename One 2.0 in a couple of days in the meantime here are the release notes covering the changes for this version. ** Highlights Of This Release ** Support for IntelliJ IDEA Support for Google Play Ads on iOS/Android Support for 3rd party libraries using the cn1lib format Major improvements to the Windows Phone 8 port making it far more reliable Fine tuned performance on iOS optimized garbage collector behavior ...

Deeper In The Renderer
When Chen initially drew up the proof of concept for LWUIT he copied the concept of list renderers from Swing, this was one of the most hotly debated issues between us. Whether we should aim for familiarity for Swing users or simplify what has always been an API that novices wrestle with. We eventually went with the familiarity approach, a decision we both agree today was short sighted. ...

Codename One LIVE Updated & Android Changes
We finally got around to updating Codename One LIVE! and in the process also added a How Do I? video guiding you thru the process of using it . If you didn’t use Codename One LIVE! in the past its a really cool tool that allows you to instantly preview the design you build within the GUI builder right on the device. This works seamlessly for all devices although for iOS its difficult to get an app like that thru itunes and it requires a jailbroken device (unlike regular Codename One apps). ...

New HTML Developer Guide & How Do I
We have a couple of new “How Do I” videos covering versioning and crash protection . The code freeze has been in full effect this week and no new features are coming in (although some bugs were squashed), we plan to make a second release candidate which will include some critical bug fixes for 2.0. We now have a new HTML based developer guide and as usual a downloadable PDF, the HTML guide was generated using ...

New How DO I, IDEA Launch & Expanded Developer Guide
If you haven’t checked the How Do I? section recently check it out now. Its completely redone with a filter tool and every video now has the ability to accept comments right below it which you can use to give out tips to other community members about the usage of a specific feature. There is also a new video covering the include sources feature and how to debug a Codename One iOS application on xcode with the native device/simulator. ...

Adding Google Play Ad's
We are officially code frozen so only critical bug fixes should be resolved until the actual release. The very last feature to make it in is support for Google Play Ads on iOS/Android. We currently only work with the Admob SDK as we move along we might add additional options. To enable mobile ads just create an ad unit in Admob’s website, you should end up with the key similar to this: ...

Using The New Facebook API
We recently introduced a new Facebook API to allow native integration since Facebook has stated their intention to no longer accept OAuth logins from applications. This is very much work in progress so some things will change as we move along especially related to elevated permissions for posting. If you just want something in the form of a “share button” we suggest you refer to the builtin share button which uses native sharing on both iOS and Android. ...

O'Reilly Blog, Sharing & Performance
I’ve just written a blog post for O’Reilly media and we’d very much appreciate it if you check it out, share it (ideally via the social media buttons on it) and spread it to your friends/colleagues. Please take the 5 minutes to do this as this would be very helpful for us. Thank you. The ShareButton component in Codename One is one the most important pieces in making your app a viral success. In Android it fires the native share intent where you can select to distribute the app’s message via a very wide selection of options. In other platforms you get a pretty narrow, fixed selection of options that is very cross platform since it uses Codename One’s builtin capabilities. ...