• Android MVP & TDD

    Today (well, for a year or so), MVP seems to be the bees knees of Android development - or at least everyone talks about it quite a bit. However, quite often people are just as intrigued as they are confused. How do you actually do MVP in Android? What about testing it? In this post, I’ll show you how to whip out an MVP architecture for your app. I’ll even combine it with a touch of TDD - because I just love unit testing!


  • How To: Access Tests From Another Module

    In a multi-module project, you may end up in a situation where you need same functionality for tests in multiple modules. For instance, if you have a ‘common’ module with some testing utilities that you’d like to use in other modules as well. Let’s wire our Gradle files to allow us to do that!


  • Unit Testing Your LibGDX Game

    As an Android developer by day, I’m used to writing rigorous unit tests, taking advantage of nice tools and libraries like JUnit and Mockito. However, as a hobbyist game developer by night, I feel like my game project is a bit lacking in terms of testing. How about we fix that?


  • Android Tip: Adapterize Your TextWatchers

    Are your views polluted with TextWatchers that only implement one of the three methods? Solution: Adapterize!


  • Extendable Builders

    To continue from the first part, let’s see how we can extend the functionality of an existing builder.


  • Builder Pattern in Java

    It’s been a while since my last post, so let’s take a look at how we can abuse the Builder pattern in Java and Android!


  • Install Google apps on VS emulator

    Microsoft recently launched a stand-alone version of their Android emulator. I instantly fell in love with it since it’s performing really well, installs apps in no time and all in all is really easy to use. However, getting Google apps such as the Play store to work provided a little challenge. Let’s take a quick look on how to install the Google apps on your emulator!


  • Game Scripting with Lua Part 2 - Scripts Ho!

    The last time we looked at how to enabled Lua scripting in your C++ code. This time, we take a step forward and actually write something with Lua!


  • Game Scripting with Lua Part 1 - Basic Set-up

    Last winter, I spent all my time developing a game engine in C++. One of the features I spent the most time implementing was Lua scripting support. In this post, I will walk you through the setup and obstacles of setting the scripting stuff up.


  • How-to: Write a Twitter bot

    Yee-ello, there! Let’s take a quick (and possibly dirty) look at how to write your very own Twitter bot in Python.