Building Boost 1.47 for Android using CMake and the NDK

The Boost library is incredibly useful in cross-platform C++ software development. Building Boost for Android can be a bit troublesome and several patches need to be applied to the code. Mystic Games provides a project on GitHub called Boost for Android which at the time of writing worked with official NDK r5c and Boost version 1.45. See after the break for more information.

Continue reading

Notes on Android Graphics and Animations

This post contains my notes on the Youtube Video “Learn about Android Graphics & Animations from Google’s Android UI Toolkit Team” which shows a talk given by Romain Guy and Chet Haase from Google at the San Francisco Android User Group, Nov 20th 2010. Note that at the time of writing the video is already quite old, but much of it is still relevant and it’s well worth a watch for anybody interested in working with graphics in Android. This post is partly for me to remember and refer back to, but hopefully others will find it useful. The video is embedded below and notes can be found after the break:

Continue reading

Adding tab-completion to Git commands in Bash

I occasionally use the Git Bash shell in Windows and always miss the ability to tab complete the git commands when in other shells. A couple of days ago I found a bash script that enables this functionality when reading a post on effectively using topic branches in Git by the mozilla web dev team. It enables tab completion as shown below:

$ git sta<tab><tab>
stage    stash    status

I’ve added it to my dotfiles repository on GitHub, or you can access the latest file in the git release tarball at contrib/completion/git-completion.bash.