Open Source & Free  

Codename One 3.6 Release Plan

We will release Codename One 3.6 on the 16th of January, this means we will enter code freeze on the 9th during which only critical bugs will be fixed with peer review. Since Codename One is a SaaS product release cycles aren’t as crucial for most of us but they provide a framework both for Codename One 3.6 Release Plan

Auto-Renewing Subscriptions in iOS and Android

This is the third post in a three-part series on In-App purchase. Please check out Part I: Introduction to In-App Purchase and Part 2: Implementing Non-Renewable Subscriptions. Auto-renewable subscriptions provide, arguably, an easier path to recurring revenue than non-renewable subscriptions because all of the subscription stuff is handled by the app store. You defer almost Auto-Renewing Subscriptions in iOS and Android

TIP: Setup a Codename One Project from Git

Opening a demo or sample code from GIT is relatively easy if you are an experienced Codename One developer but for a lot of newer developers for whom samples are often more crucial this can be challenging. One of our solutions was placing the demos in the Codename One new project menu but that’s probably TIP: Setup a Codename One Project from Git

Preferences, Location, Popup & Order

One of the fallouts from the new encrypted storage API we added last week is the fact that it encrypts things like preferences making them unusable if you expected them to work before/after encryption was applied. To workaround this we added a new API to the Preferences class: public static void setPreferencesLocation(String storageFileName) public static Preferences, Location, Popup & Order

Blog Vacation

Happy holidays, Merry Christmas, happy new year to all. All of us here at Codename One hope you have a lovely vacation if you are taking one. Since half of our readership is from countries that celebrate these holidays it seems like a good time to take a short blogging vacation as well. We’re still Blog Vacation

Implementing Non-Renewable Subscriptions with In-App Purchase

This is the second post in a three-part series on In-App purchase. Please check out Part I: Introduction to In-App Purchase and Part 3: Auto-renewing Subscriptions in iOS and Android. In my last post we looked at one-off in-app purchases. In this post we’ll look at subscriptions. As we discussed before, there are two types Implementing Non-Renewable Subscriptions with In-App Purchase

TIP: Table to Box

One of the most painful aspects in any mobile app is input, besides the difficulty of viewing the details on a tiny cramped screen the input via the virtual keyboard is nowhere near the input comfort of a full fledged computer or even a tablet. A great app adapts to the screen size and uses TIP: Table to Box

Questions of the Week 36

We had to push out an update to the IntelliJ/IDEA plugin to workaround an issue that started happening with their latest IDE update. The 3.5.11 version didn’t change much just fixed those specific issues. Other than that this weeks release includes some new In-App-Purchase features (that we will discuss next week) and the new seamless Questions of the Week 36

Automatic Caching

Caching server data locally is a huge part of the advantage a native app has over a web app. Normally this is non-trivial as it requires a delicate balance especially if you want to test the server resource for changes. HTTP provides two ways to do that the ETag and Last-Modified. While both are great Automatic Caching

Introduction to In-App Purchase

This is the first post in a three-part series on In-App purchase. Please check out Part 2: Introduction to In-App Purchase and Part 3: Auto-renewing Subscriptions in iOS and Android. In-app purchase is a helpful tool for making app development profitable. Codename One has supported in-app purchases of consumable and non-consumable products on Android and Introduction to In-App Purchase

Cache, Sorted Properties and Preference Listener

We’ve had quite a few interesting features land last week and didn’t get a chance to cover them. First we have access to the OS’s caches directory where you can store files that you don’t really need as cache. Both iOS & Android have such a directory and files stored there might be purged without Cache, Sorted Properties and Preference Listener

TIP: Search the Website

A frequent complaint we get is the lack of a search feature on the site and we get that. It’s frustrating to us too. We’d like to add it but are still looking at the “right way” to do it which I’ll discuss at more length below but for now I’d like to discuss a TIP: Search the Website