Post Image

Partners, Demos, Custom GUI Component & iPhone-Old Deprecation

We are launching a partners page in the website that will refer to consultants that we recommend/approve. If you are a software development company that works with Codename One we'd like to feature you in our website and provide the following benefits...

Read More
Post Image

Associating Your App with File Extension/Mime Type on iPhone (iOS), Android & Windows

One of the compelling reasons to go native (vs say a web app) is to better integrate with the platform. One form of integration that is frequently handy is the ability register your app to handle certain file types so that it is listed as one of the options when a user tries to view a file of that type. Codename One supports this use case via the "AppArg" display property - the same, simple mechanism used for handling custom link types in your app. "feature X" from Java isn't supported. In this post I'd like to explain the "bigger picture" or why less is more...

Read More
Post Image

TIP: Create Square Icons

This is inspired by this post that covers the process of creating different icons for different OS builds. But here I'd like to discuss the lowest common denominator and how we got it wrong!

Read More
Post Image

Questions of the Week 30

30 is probably the perfect time to stop with Roman numerals... We don't want to give search engines the wrong idea.
This has been a really busy week with the new Phoenix demo and quite a few other developments. October is finally over and we are all back home from vacations & travels. We are still in "recovery mode" but looking at the pipeline we have pretty exciting things coming up!

Read More
Post Image

Badging Arbitrary Components

Last week a question came up in stackoverflow that came out quite a few times before but this time I had a better answer thanks to the round border. After giving that answer I recalled that I already wrote some code to implement badging in the FloatingActionButton but never exposed it because of some bugs...

Read More
Post Image

Gradient and Image Background on FloatingActionButton

The Phoenix theme had a FloatingActionButton with a gradient on top. This goes against the mostly flat material design spec but after looking at the design with a solid color I came to the conclusion that the designer was totally right to use a gradient in this case. Unfortunately we didn't build that support into the FloatingActionButton.

Read More
Post Image

Template - Phoenix UI

The Phoenix UI kit by Adrian Chiran is one of the best looking and most challenging template UI's I had to adapt in recent history. The breadth of the design is pretty challenging but it also has some elements that are really hard to adapt across platforms in a portable way.
In fact, some elements only work on devices and don't even work properly for the JavaScript port e.g. the floating action button gradient color and the round look of the walkthru UI.

Read More
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