Post Image

TIP: Border Layout can Adapt to Orientation

Some designs don't work well in landscape/portrait mode and we need to adapt them to fit the orientation of the device e.g. when we have a large graphic element (icon etc.) on top/below and we no longer have room for that element.

Read More
Post Image

Questions of the Week XXIX

This was a busy week with a lot of work going on under the hood especially on the new GUI builder. We are also working on a pretty cool new demo that we'll ideally launch next week. Our release today only includes the libraries making it smaller, we would probably release a plugin update next Friday as there are many changes that warrant an update.

Read More
Post Image

Using the Designers Command Line Options

Codename One's resource files contain a lot of details but it's sometimes hard to add elements into the resource file automatically. Recently I wanted to add a better way to add images directly in the new GUI builder. I considered several options and eventually decided to operate the designer tool automatically to do the "heavy lifting".

Read More
Post Image

Faster iOS Builds, GUI Builder Improvements & SQL Updates

I've recently noticed that distribution build sizes were identical for appstore and debug builds which wasn't the case before the xcode 7.x migration we did a while back. This shouldn't be the case as it indicates that the standard debug builds include both the 64bit and 32bit code which is redundant during debugging.

Read More
Post Image

Surface Sales and Java Adware

Both TechCrunch & Engaget report that surface sold well during the last quarter when contrasting it's sales of 926M to 4.9B iPad sales.

Read More
Post Image

TIP: Don't use File - Save As in Photoshop, only use Export

This isn't a programming tip, but since we discussed photoshop quite a few times before it's probably an important subject. Especially because we made this exact mistake in those tutorials and I've spent the better part of the day tracking this with no result...

Read More
Post Image

Questions of the Week XXVIII

Unlike last week this has mostly been a calm week with the exception of some downtime we had on the certificate wizard (Apple tightened TLS access) there was hardly anything major going on. We are focusing a lot of our efforts on refining our offering on all fronts e.g. better demos, themes, docs, compatibility and tools.

Read More
Post Image

File and URL for Better Java Mobile Compatibility

I explained why we don't support the full Java API (and the difficulties involved) not so long ago. The logic behind this is solid. However, the utility of porting existing Java code to Codename One is also with a lot of merit.

Read More
Post Image

SQL Demo Revisited

The SQL demo has been on my "todo" list for months. It's really hard to create a compelling demo for something as boring (by design) as SQL so this was a big procrastination target. After we built the SQL explorer tool for the developer guide it became apparent to me that this could be the basis for the new SQL demo, just provide the ability to type in arbitrary SQL and see it work...

Read More
Post Image

Template - Clean Modern Cross Platform Mobile UI Kit

In the previous template post I introduced a material design inspired theme. This time the theme I chose is simpler "cleaner" but not necessarily easier to integrate. I've had quite a few difficulties wrestling with Photoshop oddities (bugs?) that made this template painful, hopefully I've narrowed down the process enough so this should become easier.

Read More