MAT: Getting Setup

Profiling memory usage of an Android application can really help pinpoint performance issues. Your app might be janky or laggy when scrolling, or you may run into the dreaded application OutOfMemoryError. In an effort to tackle these issues I’ve decided to start learning how to correctly profile an Android app and get some meaningful results to hopefully remedy […]

Read More

UI Automation: Calabash installation

So I’ve ventured into the world of UI automation and I’ve decided to give Calabash a try. I chose Calabash for a number of reasons: Easy setup Nice syntax (B.D.D. approach) Cross-platform (although I’m only using it for Android at the moment) I first heard of Calabash at Droidcon UK during a UI testing talk […]

Read More

Device ID and call information permission automatically added to Manifest

The Problem: So I ran into a strange issue after pushing an updated APK to the play store. A new permission that I did not specify in my application manifest was being requested upon install. The permission was: Device ID and call information This permission “allows read only access to phone state”. Nope, I definitely didn’t ask for […]

Read More

Unit Testing: Android Test Framework vs Robolectric Test Framework

Ok, so I don’t have a huge amount of testing experience but I really want to get hands on with this project. I’m going to start off with Unit Tests and move on from there.  For testing an Android application I have two options here: Native Android Test Framework Third-party Robolectric Test Framework After doing some […]

Read More

Dependency Injection: Dagger / Roboguice / Butterknife

My first question here was “dependency injection, what is that again?”. So after some Googling and some interesting Youtube videos, I stumbled across this explanation which I think sums it up nicely: Any nontrivial application is made up of two or more classes that collaborate with each other to perform some business logic. Traditionally, each […]

Read More