Game Of Code

Post Image

JavaZone just released their traditional annual clip which is especially amusing for fans of the Song Of Ice & Fire series (or the Game Of Thrones TV adaptation). If you haven't seen the clips from these guys before you MUST check them out here, including spoofs of house of cards and breaking bad (not to mention years of hilarious clips)! Very coo...

Read More

Mavericks Signing

Post Image

Dealing with the new Mavericks release of Mac OS has proved to be remarkably challenging but hopefully this is finally behind us and we can slowly upgrade our machines to the new Mac OS. This required some overhaul of our build process but should simplify the process of procuring more servers. iOS builds should now spend less time in the queued sta...

Read More

Faster Builds & Performance

Post Image

Despite quite a few regressions with the new VM we were finally able to make some major improvements to its performance and bring it on-par with native. Its still not as fast as it could be but coupled with the far improved GC and far superior synchronization its probably a better choice in terms of performance than the old VM. We are still heavily...

Read More

Microbenchmarks

Post Image

Microbenchmarks are often derided in the Java community with some good reason, they show edge cases that either present the JIT in a bad light or show it as ridiculously (unrealistically) fast. However, with static compilers and translation tools microbenchmarks can give us insight into performance problems that normal profilers might not provide i...

Read More

Intercepting URL's On iOS & Android

Post Image

Notice: the original version of this post incorrectly specified the property as AppArgs instead of AppArg. This is now fixed. For Android you would probably also want to add the build argument android.xactivit...

Read More

Can Execute

Post Image

Runtime.exec is pretty familiar to Java developers (and the process builder in later versions), however for mobile applications we usually don't have access to an executable. The solution is to invoke a URL which is bound to a particular application, this works rather well assuming the application is installed and you can activate quite a few thing...

Read More
Post Image

Developer Promotion - practical guide & statistics about the Java ecosystem

Before we launched our recent promotion for JavaOne tickets with Java Code Geeks we sought out guides/tutorials about running such a promotion, unfortunately we didn't find anything useful so we had to improvise and work by instinct. This post will also cover some of the statistical results about the Java community so if this is the reason you are ...

Read More

Perspective Transform

Post Image

Over the weekend Steve posted a really cool demo showing off some of his work on the new iOS graphics pipeline, specifically the perspective transform. Perspective transform allows us to rotate elements in a 3 dimensional space to create pretty nifty effects. Right now this is only supported on iOS devices (since Java SE doesn't really support it,...

Read More

Same Size & Back Swipe

Post Image

Codename One inherited basic layout concepts from Swing which in turn inherited them from AWT. We modernized and adapted them quite a bit by removing various behaviors and adding others, but a key to sizing and placing components is the preferred size. Every component calculates its own preferred size in the calcPreferredSize() method. This calcula...

Read More

Codename One & Java Code Geeks are giving away free JavaOne Tickets (worth $3,300)!

Post Image

Would you like to go to JavaOne? Besides being a cool conference its loads of fun with shows and events thru-out the city. Now you have a chance, Codename One and Java Code Geeks have teamed up to give away TWO full passes (worth $1,650 each) and to win all you need to do is: - Retweet this tweet: https://twitter.com/javacodegeeks/statuses/48...

Read More