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 […]

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 […]

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 […]

Linkifying a TextView after setting text

Just a quick one.  You probably already know that you can automatically convert URLs in a TextView into clickable links like this: mTextView.setAutoLinkMask(Linkify.WEB_URLS); I recently learned that this will only work where you can call setAutoLinkMask() before setting text in the TextView.  The simple solution is to set the text after calling setAutoLinkMask(), but if […]