I’ve decided to move the majority of my content over to my Programming Thomas blog instead of this one because it fits better with my other projects. Please go over there for any updates to my apps and general programming information.
Archive for April, 2012
I updated Keep Calm on Google Play today to version 2.2.5. This new update fixes a couple of bugs and makes poster generation a lot more efficient which should, in theory, mean that the app is a lot less likely to crash – an error reported due to a memory error.
The reason that the app had been crashing for some users (especially those with older phones with less RAM and older versions of Android) was because the background of the poster was being regenerated every time something was changed on the poster. This was a necessary because Keep Calm Pro allows for a greater variety in the backgrounds (solid color, linear gradient, radial gradient and an image) however was completely unnecessary for Keep Calm and therefore lead to an unnecessary Bitmap object hogging up memory.
The two apps share the same class to generate the poster (its called Dunkirk and the majority of variables, functions and classes in the app get their namesake from various WWII battles to keep me entertained whilst coding) so an extra function has been added to this that generates higher quality posters. I also adjusted the resolution the preview as rendered at – by default it is 600 by 900 (this is the export resolution) however if the screen resolution is lower than that it will be rendered at the lower resolution.
Hopefully this update has fixed any bugs that were in Keep Calm which is now within in three/four days of 50,000 downloads :).
Earlier today I launched the third update to Keep Calm Pro since its initial release which brings the app up to version 1.2. This new update officially introduces 100 icons (which brings the total up to 150 icons). Whilst these were technically introduced in version 1.1.5 there were a number of bugs in this version that I hadn’t considered so therefore this new version fixes these bugs.
The most peculiar bug that I had to fix was that on some devices the app was not correctly loading images from the phone’s Gallery app. Thankfully I was able to fix this bug (if anyone is interested it was a threading issue) and I have therefore improved the the way that images are loaded better so that the look great heading the poster.
I have made a few improvements to Keep Calm and Keep Calm Pro for Android. The key improvement that has been made is that the app is now fully multi-threaded which means it is a lot less likely to crash (I am ashamed to say that, yes, everything had been running in the UI thread before – oops).
Both apps now include PT Sans as the default font and Keep Calm Pro now allows you to choose between Open Sans, Open Sans Light (which used to be the default), PT Sans and the standard system font. I chose PT Sans because it matches the original font quite well. A less major modification that has been made to both apps is the change of the background color :).
In response to comments I have also added a new option to Keep Calm that allows you to use the old designer. This feature has not been added to Keep Calm Pro as it would have made it far too complex and I believe the menu/sub-menu system that it currently uses is far more efficient.