This one is for the Android nerds out there! Today, at DroidCon UK 2011, I presented the TouchType way of dealing with configuring Android APKs. We’ve come up with a clean framework to generate different APKs from a single source tree according to given feature requirements. (Our system is a bit clever than the […]
Test-Driven Development on Android using native Scala Mocking and Dependency Injection
This week I gave a talk to Londroid testing enthusiasts on how we do TDD on Android at TouchType. Our system uses RoboGuice (an Android version of Google Guice) and an open-source Scala mocking framework called Borachio, developed by Paul Butcher, our Chief Software Architect. We write our tests concisely, in Scala, and we […]
Mock objects on Android with Borachio: Part 3
As we saw in part 2 of this series, mocking Android’s PowerManager service directly is impossible. But there is an alternative approach that gives us something close enough. This article describes that approach.
Mock objects on Android with Borachio: Part 2
In part 1 of this series, I showed how to mock an interface that we created ourselves under Android. That’s useful, but mocking really pays dividends when mocking OS services—doing so allows us to test our code in isolation, verify that it interacts with the OS correctly and that it handles errors properly.
Mock objects on Android with Borachio: Part 1
In the next few “Technical Wizardry” articles, we’re going to look at the approach we’ve developed to help with testing Android code (first published here).
Android library project with tests, step by step
Welcome to the new “Technical Wizardry” section of the TouchType blog. Here’s where we’ll be sharing a few of the tips and tricks we’ve learned while developing SwiftKey and the Fluency prediction engine that underpins it. We’re going to start off with a series of articles on Android development (originally published here).
The clever stuff behind SwiftKey’s success
The dust has now settled on our paid launch in September and SwiftKey is already establishing itself as a leading solution to the problem of typing quickly and accurately on the go. At last month’s DroidCon Android conference in London, I pitched our app at the AppCircus competition and we won. This officially marks […]



