The Time I Interviewed at Google
Jun 09, 2015
I've had a pretty big secret for the past month or so; something that only my friends and family know about. We've all been there, sneaking around interviewing for a new job like we're having an affair. Only this time, it was different. As an Android developer, this was like trying out for the majors. No…seriously, y'all…Google invited me to interview.
My adventure started early last month as I was triaging my inbox.
Loading a List of Objects from Firebase
Apr 06, 2015
I've been working with Firebase lately in preparation for adding data synchronization to my Music Library app. Their docs did a great job of getting me set up. Using the sample app as a guide, I even got Google+ OAuth working without much trouble. From there, it didn't take long to load data into a Firebase instance partitioned by Google account. All that was left was to query the data out of Firebase and I'd be able to see the sync magic in action.
Why I'm Unironically Carrying This Small, Older Android Phone
Feb 19, 2015
I thoroughly enjoyed my last night in Berlin a little over a week ago; so much that I didn't notice my phone was missing until the end of the night. Shake your head and say it couldn't happen to you. I thought the same thing until it did. Normally, I keep my phone in one of my front pockets, but I was wearing a coat that covered the pocket, making it a bit more difficult to grab my phone quickly to check Google Maps.
MCE Conference 2015 - Automated Testing for Modern Android Applications
Feb 08, 2015
It was an honor to speak at and attend MCE Conference in Warsaw last week. I participated in a workshop where I learned about prototyping with Android and Arduinos. I attended talks about Groovy, Kotlin, Proguard, design, scaling apps for emerging markets, and some handy new libraries.
That alone easily makes MCE one of the best conferences I've been to. On top of all that, the networking with fellow speakers and attendees was a personal highlight.
Running Shell Commands with Gradle and a Better Way to Delombok
Jan 22, 2015
A few months ago, I posted about how to use Gradle tasks to “delombok” code using Lombok annotations before generating Javadocs. My solution for running the delombok task used Ant and was based on what I found after the requisite Google & StackOverflow searching. This worked just fine until Android Studio 1.0 and the associated Gradle build tools were released at the end of the year.
The crux of the problem appeared to be a change in the way dependencies are merged during compilation.
Top 10 Albums of 2014
Dec 26, 2014
The end of another year means it's time for the annual Top 10 Favorite Albums list.
Ty Segall - Manipulator While not the leader in sheer track plays via my Google Play Music account, this album is perfect all the way through. It certainly spent a lot of time on my turntable as well. Nothing - Guilty of Everything A wonderful example of the specific brand of rock music I love.
Music Library 3.0 - Material Design Update
Nov 02, 2014
I started developing Music Library about four years ago when I wanted an app for organizing my record collection. Armed with my Nexus One, Eclipse, and a copy of Apress’ Pro Android, I spent my nights and weekends learning the inner workings of my now-favorite mobile OS.
Over the years, Music Library has been a playground of sorts for exploring various open source libraries, patterns, and best practices. While there is still a fair amount of code I would write differently today (I'm looking at you, ContentProvider), the app has been and continues to be an enjoyable side project.
BABBQ5 - Automated Testing for Modern Android Applications
Oct 17, 2014
This is my third year to attend and present at the Big Android BBQ. My talk this year showed how to prepare an Android app for automated testing using mocking, dependency injection, and Google's super fast Espresso test runner. You can find the presentation on Speaker Deck and the sample code on GitHub.
Hosting Android Dependencies on GitHub
Oct 05, 2014
As I mentioned in my last post, I'm developing an SDK at work. The libraries I use most frequently in my apps are all included as Maven dependencies. Adding a line to my build.gradle file is much preferred to downloading a JAR file. To make the SDK as easy as possible for developers to include in their projects, I wanted to deliver it the same way.
Maven Central is the de facto repository for open source library hosting.
Delombok and Javadoc with Gradle
Sep 29, 2014
I recently had my first experience working with Javadoc to generate documentation for an SDK I've been developing at work. In general, I'm in the “clean code doesn't need comments” camp, but SDKs tend to be a limited view into a larger abstraction, so good documentation is a necessity.
Javadoc has been around since the introduction of the Java language, so I won't include a primer here. If you want to learn more, Oracle has you covered.