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
Post Image

TIP: Don't Use ComboBox

We previously discussed the problems with List and somewhat neglected ComboBox which is a subclass of List. ComboBox has the dubious "honor" of deriving most of the problems List has and adding a slew of its own problems such as two separate renderers, different behaviors between OS's etc.

Read More
Post Image

Questions of the Week XXVII

This has been a REALLY busy week. We had to release an emergency plugin update during the week to workaround a critical issue in the previous plugin update. This was pretty hard!
To make things extra difficult we had two huge blog posts that I've worked on launching, the code itself wasn't such a big deal as is all the hassle around them e.g. appstore submissions are never fun especially when traveling...

Read More
Post Image

MSUIKit Template Inspired Changes

There was much left unsaid about the template UI that I did earlier in the week. It was doable and reasonably easy but I still had some pitfalls. I was able to circumvent them easily but I'm not so sure these would have been easy for other developers out there. As a result we decided to simplify some use cases in Codename One as a result.

Read More
Post Image

How to: Port Native Android App to iOS (iPhone) Guide

We get contacted quite a bit about the prospect of porting applications that were already written using the Android API. In this quick tutorial we will walk you thru the paces of converting a simple Android application to a Codename One application. We will also start with some basic tips covering the differences between Android and Codename One development.

Read More
Post Image

Template - Mobile Material Screens UI Kit (Cross Platform PSD)

Generating a template from a PSD isn't hard but it isn't a trivial task either, in this recurring segment I will try to generate good looking Codename One templates from freely available PSD files. Since this requires some effort I don't think I'll be able to keep this as a weekly segment but I'll try to post such a template once every two or three weeks. If you know of a free PSD that you'd like to see as a Codename One app point me at it in the comments and I might integrate it in a future post!

Read More