Android Kata Workshop

I was inspired by my recent appearance on the Fragment podcast to get recording! I can’t wait to share what we talked about on the show, but in the meantime …

An idea I’ve been kicking around for a while was show Android TDD in action.  The Android Activity Book gives a thorough introduction, but since it’s a book, it’s harder to get an immediate feel for TDD.

To make it more accessible, I created an Android Kata so that people could practice TDD on a small throw away app. I gave this as a workshop to my coworkers and they really loved working through the example project. I turned it into a downloadable workshop so that you can walk through it too.

Get your copy today! I’d love to hear your feedback.

Sketchnoting the Global GDG Summit

Last week, just before Google I/O, I attended the Global Google Developer Group Organizer’s Summit in San Jose.

The summit was up to 500 organizers this year, so we took over the Computer History Museum.

We discuss relevant topics to organizing as well as upcoming Google announcements. The best part, however, is interacting with organizers from all around the world!

I captured the activities from day one on video (using Google Glass), check it out to see different phases of the process.

Continue reading Sketchnoting the Global GDG Summit

Kata: Simple Android App

One of my favorite tools for creating polished apps is Robolectric, which allows you to unit test directly in your IDE — fancy debugging and everything.

I’ve been kicking around the idea for a while to create katas to practice technique and help others start out with the tool. I didn’t want them to go through the same pain of spending several minutes (or hours) trying to piece together disparate suggestions for how to test something simple!
Continue reading Kata: Simple Android App

Kata: Robolectric Integration

A coding kata is a way to practice something to get better at it — just like the karate counterpart. I also use katas to get familiar with new tools and approaches.

In Android, it’s difficult to get started with TDD because JUnit isn’t supported natively in the JVM. Robolectric gets around this restriction, but must be configured each time.

Continue reading Kata: Robolectric Integration

Formatting Paths, Menus, and Key Shortcuts in Softcover

One of the last tasks on the agenda before shipping my books is to make the formatting support the material instead of making it harder to understand.

Softcover is nice because it lets you stay mostly in Markdown, but you can drop in LaTex for more advanced formatting needs. I started by using inline code formatting for everything from function names, API calls, code snippets, to file paths. For UI instructions, I was using double quotes and a mixture of inline stuff.

Continue reading Formatting Paths, Menus, and Key Shortcuts in Softcover