On software development and stuff

Android Convention for Starting an Activity

To start one activity from another, you generally see code like this:

Intent i = new Intent(this, NewActivity.class);
i.putExtra(NewActivity.EXTRA_USER_ID, mUserId);

Nothing particularly horrible about this, but it does require our first Activity to know beforehand what parameters to pass to NewActivity as well as how exactly to pass them. My coworker came up with a nice pattern that I loved so much I had to share.
Continue reading

Why I Love and Hate Netflix

One year ago, Netflix had a lot going for it. The word ‘disruption’ is overused in the tech community, but I believe that’s exactly what Netflix was doing for a long while. They had come from nowhere and dethroned the very king of the old ways. Their subscriber rates and net profits were climbing higher and higher until the company did something incredibly foolish.

Continue reading

Android Custom Fonts via XML Attributes

EDIT (4/21/13): I’ve just released an Android library project that handles custom fonts via xml! Check it out here!

Android’s default font choices have always been good for what they were designed for: readability. However, they leave something to be desired in the realm of design. Roboto and the Droid family are fine fonts, no doubt. But designers like to use multiple font families, and not be limited by the Android platform’s standard fonts. What are we developers to do? In this post, I’ll walk you through how to make a custom TextView subclass that uses a custom xml attribute to style itself with a custom font.

Continue reading

Google Wallet Cracked

Sooooo. That didn’t take too long.
Continue reading

Google Wallet on the Verizon Galaxy Nexus

Today, I came across this article that describes how to install the official Android Market build of Google Wallet onto the Verizon version of the Galaxy Nexus. I had previously installed Google Wallet as a standalone apk from the xda forums. I was a little skeptical about not being able to get the latest updates to the app if/when Google pushes them to the Market so I eventually uninstalled it. This method solved that problem for me, so I decided to give it a go.
Continue reading

Excellent SOPA/PIPA infographic

For the less savvy internet users, all the hubbub around SOPA and PIPA might seem like a mountain made out of a molehill. The real issue here is that these acts would bypass due process, cripple potentially innocent sites, place the burden on site owners, and not even be effective in preventing piracy in the slightest.

Here’s a wonderful infographic from Lumen Consulting via Lifehacker:



This is the third incarnation of my site. The previous two have failed to keep me posting content. I’ve heard that the third time’s the charm. I certainly hope that’s true.

I don’t currently have a lot to say. I’ve got a few technical articles that I’ve been mulling for a while. Hopefully having a forum to release them into the wild will help me finally get them done. They’re nothing groundbreaking, but writing technical articles is something I’d like to get better at and, well, practice makes perfect.

The site will definitely be in flux for a while, while I get things set up just right. My goal is to have something that I can be proud of and actually use as an online hub for all of my social activity, posting longer form updates here and merely linking to them on Twitter, Facebook, etc.