Latest posts from Codename One.
Blog

With 200,000 SDK Downloads, Mobile Development Platform Codename One Announces Version 1.1
Mobile development platform Codename One is announcing the release of its 1.1 version on Monday, May 20th. Less than 4 months after releasing its 1.0 version, Codename One doubled its user base becoming the 5th most downloaded NetBeans plugin of all time and more than doubling builds on its cloud servers month over month. 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 with industry standards Eclipse/NetBeans with a one of a 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. ...

Drop It – Introducing Dropbox Integration
We are working on something exciting, more on that next week (hopefully). One of the things we needed was a way to access files on a device, e.g. images, etc. however this is a painful and fragmented subject. Most of my files are still on my laptop and not on my tablet or phone and moving them back and forth isn’t convenient… Luckily we have Dropbox , this neat tool has really helped us collaborate as a startup and has made many painful things remarkably easy. ...

Getting Ready For 1.1
As part of our preparation for the 1.1 version of Codename One we are accelerating our typical release cycle so we can test against regressions as soon as possible. We plan to make a release within this month for versions 1.1. The final feature set for 1.1 should include the following highlights: 3rd party Library support [ Windows Phone 8 support ](http://www.codenameone.com/3/post/2013/04/windows-phone-8-and-the-state-of-7.html) Side menu functionality ...

Cloud Object Viewer
Working with the Cloud Object API can sometimes be difficult. The data isn’t tabular and understanding the concepts such as indexes and scopes for such objects is pretty hard. To help alleviate this difficulty Chen built a tool right into the Codename One simulator that allows you to query the cloud storage for the current application and helps you review some of the complexities involved. You can query various application scopes, if you don’t enter an object type you will receive all objects but only for the private/application scopes (otherwise you would just get too much information). Notice that when you sort based on an index if the index is missing an entry just won’t appear so keep that in mind. ...

Pingjam: A New Way To Make Money On Ads
We have many interesting ways for you to make money using Codename One and pingjam is one of the most innovative ways we ran into. Pingjam ads are placed within the dialer window based on the number you are dialing to, e.g. you dial to purchase a pizza you might get an ad offering a discount for purchasing over the web! This means ...

J2ME, Feature Phones & Nokia Devices
Is J2ME dead or dying? How many times have we heard this for the past 3 years or so? Sadly the answer is: Yes! Unfortunately there is no active owner for the J2ME standard and thus no new innovation around J2ME for quite some time (MIDP 2.0 came out in 2004, 3.0 never really materialized). Android is/was the biggest innovation since and became the unofficial successor to J2ME. ...

Turn It On (Or Off)
We just added a new On/Off switch to Codename One that should allow you to use this component which is very popular on iOS (and gaining some popularity on Android), this is a rather elaborate component because of its very unique design on iOS but we were able to accommodate most of the small behaviors of the component into our version and it seamlessly adapts between the Android style and the iOS style. ...

OTA Device Skin Downloads
Chen has recently added support for a new OTA (Over The Air) skin download feature which allows us to give you more device skins while maintaining a relatively small distribution size, in fact we might shrink the distribution by removing some of the builtin skins into the new OTA download option. Most of the work on the Skins themselves was contributed by Eric Coolman who did a lot of work on cutting these up and assembling them properly. ...

Which Subscription Level Should I Choose?
From the many emails and discussions we have with developers it seems that there is a great deal of confusion regarding the differences between the 4 levels of subscription that Codename One is offering. I would like to explain the difference more succinctly by covering some of the cases and benefits we reached with various level of subscribers. There are generally 4 levels of subscription: Free, Basic, Pro & Enterprise. (note: there is also a corporate tailored license which is something completely different). ...

Cutting PSD Files
This post is inspired by a great post written by Tope , covering the slicing of a PSD image to produce small PNG images which you can later on use as image borders, backgrounds, icons etc. Tope’s technique is pretty simple and works rather well but I’d like to offer another technique as well as a better way to detect the proper layer you with to cut. ...

Windows Phone 8 And The State Of 7
A preliminary Windows Phone 8 build has been available on our servers for the past couple of days. We differentiate between a Windows Phone 7 and 8 version by a build argument that indicates the version (win.ver=8) this will be exposed by the GUI in the next update of the plugin. But now I would like to discuss the architecture and logic behind this port which will help you understand how to optimize the port and maybe even help us with the actual port. ...

Combining SalesForce and Codename One
This is a guest post by Bertrand Cirot, based on an original blog post that appeared here . Bertrand works as an SFDC, Flex and Java/J2EE developer in Switzerland. Closely interested in mobile device solutions, he writes on Tuto-CodenameOne.ch which proposes tutorials for the French-speaking community. While investigating the possibilities within Codename One, I made a discovery that I would like to share with you via this short article. But first lets discuss SalesForce, it is a CRM platform. Which has an advantage of an open Web Service API enabling it for use with Codename One. ...