Post Image

Toolbar Back & Easier Material Icons

When we initially launched Codename One it was pretty hard to imagine todays apps. Menus and back navigation were miles apart when comparing Android 2.x and iOS 4.x... So we created a very elaborate set of abstractions (command behavior) that served as a set of patch framework we could live with for a while.

Read More
Post Image

Chrome Demo

This week we chose to modernize the very outdated Chrome Demo. This demo is one of our early demos developed during the iOS 4.x era. We licensed it's original design fromapp design vault and created a Codename One version of that original template. While the guys in app design vault modernized most of their templates to iOS 7 flat design they didn't do this for the Chrome demo.

Read More
Post Image

Marshmallow Permissions in the Simulator and Native Code

We talked about the new Android 6 (Marshmallow) permissions in Codename One last week and so far we've been pretty happy with the result. We had some build regressions on the older Ant based build path but those were fixed shortly after and it's been smooth sailing since then. As part of the transition to the new permissions system we added two features to the simulator and the AndroidNativeUtil class.

Read More
Post Image

Questions of the Week V

It has been a very busy week around here with a lot going on. We've just sent out the Friday release update and we are gearing up for some other interesting things... These weekly question posts are really convenient as they help us center on what's truly important - user support.

Read More
Post Image

Comparing Xamarin and Codename One

Last time around we compared Codename One to QT and this time around I'd like to compare Codename One to the 800 pound gorilla Xamarin. Xamarin is an amazing product that I contrasted with Codename One in the past but this is worth repeating.

Read More
Post Image

Featured App - Pumpop

Pumpop is a social networking app in the spirit of tinder that is available globally and installed on many devices all over the world. One of its major draws is it's portability which will soon extend to Windows Phone as well.

Read More
Post Image

Camera Demo

With the 3.4 release we discussed the process of modernizing the demos and the first one we picked for this task is the camera demo which is probably the easiest one of all the demos...
The demo is trivial and doesn't really demonstrate anything other than capturing and showing an image captured from the camera/retrieved from the gallery but this is where it gets interesting. It even works in the JavaScript port so you can even run this in the browser and it works as you'd expect!

Read More
Post Image

Java 8 Switch, New Preferences & Demo Structure

With the 3.4 release we discussed the process of modernizing the demos and also mention that we would continue the trend of building Codename One on top of itself. We now have a rough outline of what we are going to do possibly starting with the next plugin update.

Read More
Post Image

Switching on Android Marshmallow Permission Prompts

Up until Marshmallow (version 6) Android used a rather obtuse permission system that very few end users understood. With API level 23 (Marshmallow) Android finally shifted to a structure that makes more sense similarly to iOS. Marshmallow asks a users permission the first time an API is used e.g. when accessing contacts the user will receive a prompt whether to allow contacts access.

Read More
Post Image

Questions of the Week IV

I'd like to open this weeks post by covering some things we do and try to avoid on stackoverflow. I try to upvote your questions/answers whenever I can and most of us should upvote questions that are decent especially from a person who has low ranking and might not have the stack overflow experience to phrase their question properly.

Read More