Android not loading your CSS?

I wrote a post over on Medium about an issue we faced when Android’s WebView seemed to stop loading our CSS mysteriously.

Posted in Uncategorized | Leave a comment

Making the most of Virgin Media’s new speeds

Virgin Media (the ISP formerly known as UPC) sent one of their “we’re going to start charging you more money” e-mails recently. I decided to cave and migrate to the 240Mb plan from the 120Mb one that I was on. There are a few tricks to being able to actually use this speed though.

Continue reading

Posted in Uncategorized | Leave a comment

HTCData junk left in contacts

I’ve switched between HTC, Samsung, and Nexus phones a lot over the years. I noticed some junk data in my contacts a long time ago, but I didn’t get annoyed enough to fix it until this weekend.

The issue is that HTC leaves a lot of metadata behind it in your contacts. If you’re affected by this you’ll see a lot of this kind of malarkey:


I wrote a small Android app to clear this up. If you synchronise your Google contacts then the fix will propagate to them too. You can have a look at the source code or download a debug APK from GitHub.

Posted in Android, Annoyances, Uncategorized | Leave a comment

Are your androidTestCompile dependencies mysteriously missing?

Being a responsible devloper (sic) I like to add unit and instrumentation tests when I add or change code. For reasons Mockito disappeared from my Android instrumentation tests this morning. My project is set up as a library module and an application module that uses the library. Read on to find out how to fix issues like this.
Continue reading

Posted in Android, Annoyances, Development | Tagged , , | Leave a comment

Building Javadocs for Android library projects with Gradle

This post is about how to build Javadocs for Android library projects with Gradle. More importantly it also tells you how to upload the Javadoc artifacts with the uploadArchives task of the Maven plugin. This post will walk you through how I got it to work.

Continue reading

Posted in Android, Development | Tagged , , , | Leave a comment

PSA: Using Picasso with a custom downloader

Picasso is an awesome library for downloading and caching images.  If the images that you need to download require authentication you can do that by specifying a custom Downloader class. If you do this you can no longer use the with method to initialise Picasso.

Continue reading

Posted in Android, Android snippets, Development | Tagged , | 1 Comment

How to test Windows Phone app upgrades

Properly testing app upgrades on Windows Phone is not as straightforward as it could be. When you deploy a XAP from the IDE or with the XapDeploy tool the build system will evaluate whether an incremental update is possible or if a full redeploy is required.  A full redeploy will remove all of the app’s IsolatedStorage and make testing upgrades impossible unless we use the ISETool. Continue reading

Posted in Annoyances, Development, Testing, Uncategorized, Windows Phone | Tagged , , | Leave a comment