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

Pushing It

Post Image

We got a request from one of our pro-subscribers to support push notification on Blackberry devices. Normally we just implement the feature pro-developers ask for. However, in this case we were cautious... Building anything for/on top of a Blackberry device is often an exercise in futility. The gist of it though is that we were able to get it working des...

Read More
Post Image

Spanning, Caching, Native Fonts and more

When you have so many features as Codename One has things sometimes slip, a feature gets lost and even the guys who created it forget it was there. There are two such stories in this post one dates back to the very start of Codename One.... But first lets start with the other one. A month or so ago we added a component called SpanButton which has b...

Read More

Jaring And Libraries

Post Image

Don't change the classpath Support for JAR files in Codename One has been a source of confusion despite my previous post on the matter so its probably a good idea to revisit this subject again and clarify all the details. The first source of confusion is changing the classpath. You should NEVER change the classpath or add an external JAR via the N...

Read More

Crashing

Post Image

Note: we decided to go in a different direction than the content of this blog post. We will make a new post with further details when we complete the new feature. Generally we found a way to allow deobfuscation of release binaries as well so you would be able to get a crash report on standard applications. In an ideal world your app would work per...

Read More
Post Image

Why Mobile Web Is Slow?

Clarification update: For some reason people read this as a rebuttal of Drew Crawford article, it is not. It is merely a response, I accept almost everything he said but have a slightly different interpretation on some of the points. Over the weekend quite a few people wrote to me about a well researched article written by Drew Crawford where he ...

Read More
Post Image

MoPub Ad Support

Updated: We also added the option: ios.mopubTabletId which is required to build tablet compilant apps. It must point to a leaderboard ad unit. For a long time we've been looking for a proper partner on banner ads and could only find mediocre networks or worse. Unfortunately it seems the field of proper advertising on device is still problematic an...

Read More