Extend BaseAdapter Instead of ArrayAdapter for Custom List Items

Posted by Andres Calvo on 04 July 2014

The best way to implement a ListView with custom rows is by writing a custom ListAdapter. Although many tutorials do so by overriding ArrayAdapter, it makes more sense to override BaseAdapter instead. In this post, I'll explain why overriding ArrayAdapter may be confusing, and I'll show you an example of how to override BaseAdapter.

Overriding Crash Descriptions in Google Analytics v4 for Android

Posted by Andres Calvo on 29 June 2014

This post shows you how to override the default exception handler of Analytics v4 to report the package name of the root cause. This additional information is of particular importance for apps that use Proguard in addition to Analytics v4.

United Airlines App Redesign

Posted by Andres Calvo on 23 June 2014

The United Airlines app for Android contains a ridiculous quantity of features. Finding anything useful is challenging because the information you are likely to need is buried in countless features that do not belong in an airline app. This post shows my redesign of the United app, which eliminates all but its essential features.

Menus and voice input with the GDK

Posted by Andres Calvo on 03 June 2014

The two primary input methods of Glass are the options menu and voice recognition. We'll use these features to let the user add and remove items to a grocery list.

Adb over WiFi on Google Glass

Posted by Andres Calvo on 19 May 2014

Adb is a tool required to sideload glassware and develop with the GDK. When using adb, the USB cable that connects your computer to Glass can be rather uncomfortable because it dangles from the side of your head. Fortunately, you can run adb over WiFi on Glass and rid yourself of the USB cable with three simple adb commands.

Google Glass Photoshop Template

Posted by Andres Calvo on 03 April 2014

This template is a great starting point to use Photoshop for Google Glass design. It will help you keep your glassware's user interface consistent with the rest of the system.

Using a translucent action bar with Google Maps

Posted by Andres Calvo on 20 March 2014

An activity with a map can make you feel a little claustrophobic because the vertical space of the action bar takes real estate away from the map. This problem especially troubling in landscape mode and is compounded by apps that have split action bars or other controls at the bottom of the screen. We'll alleviate this problem by making a translucent action bar that reveals part of the map behind it.

Creating Immersions With the GDK

Posted by Andres Calvo on 18 March 2014

Create a list of scrolling cards and a voice trigger that starts a native application on Google Glass. We'll use the GDK to create glassware that displays a list of groceries in an interface similar to that of the timeline.

Installing native Android apps on Glass (ADB 101)

Posted by Andres Calvo on 17 March 2014

Native apps offer features beyond the scope of the Mirror API, but you must install them through a command line program called adb. Learn to use adb to install and uninstall native apps, take screen captures, and read/write files from/to the external storage.

Common misconceptions about Glass

Posted by Andres Calvo on 17 March 2014

As we gain experience using and developing for Glass, we slowly begin to understand what problems it can solve well; we are still trying to figure out the advantages and disadvantages of the wearable paradigm. In other words, we don't know exactly what it can do. Misconceptions are likely to arise, especially for people who have no experience with Glass.