Android Performance Improvements for Slideshare

A post I co-wrote on the LinkedIn Engineering Blog that documents the Slideshare team’s work improving the performance of our Android App. To build a compelling, smooth, and crash-free experience, we needed to improve our app under the hood. We focused our optimizations on three areas: image ...

Fragments, Tab Adapter, and Different Layouts

When using Fragments in tabs, the FragmentManager takes care of instantiating, retaining, and reusing Fragments. The problem there is that a tag for a fragment is auto-generated. If we want to reuse that exact Fragment in a different layout (like when the device is rotated), we need to extrac...

Draft Punk for 2013

The best fantasy football drafting tool for Android is back for 2013.  Updated look and feel for both the draft and news features, improved draft controls, optimizations for all phone sizes including tablets, and more.

New App Engine Pricing may kill Earthquake Alerter

To send immediate alerts of earthquakes to users of my Android app Earthquake Alert, I use Google App Engine as the processing backend for C2DM (cloud to device messaging). Since this was recommended by the Google Android team, I thought it would be a great option. However that all changed wh...

Earthquake notifications using C2DM and App Engine

In order to enhance my Earthquake Alert! Android app, I wanted to be able to alert any user’s phone when an earthquake occurs anywhere in the world that matches some pre-defined filters.  The end result was the Earthquake Alerter add-on app and it uses Google’s C2DM and Google App Engine to a...

Japan Quake Visualized on Earthquake Alert!

I’ve always been fascinated with Earthquakes. This fascination lent itself well once I began writing Android apps. I was able to combine my interests and create Earthquake Alert!, an app that give users a great way to view and explore earthquakes all around the world.  As an active user of th...

My Map Location Tutorial - Where am I?

If you’re writing an Android App using a MapView, then you will most likely want to view the user’s location. This tutorial will show you how to create an activity that makes use of Android’s built-in MyLocationOverlay class.

Custom Android Tabs

Wanting to change the default TabWidget look and feel for Android? In this tutorial, we will investigate a few different ways to customize your app’s tabs.With Android SDK 1.6 and above, the SDK allows you to set a View as the tab instead of just text and an icon. We use be using that tech...

Border Wait gets mini UI overhaul

Border Wait was my first Android app and it showed - basic ListView, simple icons, and a launcher icon I found from the web.

Android Tabs with interacting map and list views

Last tutorial, we wrote a simple app that displays two interacting list views in a TabActivity. In this tutorial, we will up the ante and add a MapView as the content of one of the tabs. Why again are we using multiple views in an activity instead of using a separate activity for each tab co...

Android TabActivity with two list views

Often times when creating an activity with tabs, it’s easy to have a separate activity for the tab content. However, things get tricky when those activities need to interact with one another. So the solution is to create a tabactivity with views (instead of activities) as the tab content. ...

Draft Punk Android App

I published a new app today for Android. It’s targeted for the fantasy sports fan like me. Every year, I do an offline draft for my fantasy football league. The problem with offline drafts though, is that you have to fumble around with various paper cheatsheets or internet printouts and make ...

Border Wait Android App

A buddy at work often commutes to Mexico and noticed there weren’t any apps (iPhone or Android) that provided the current wait times to return to the U.S. Since the customs and border patrol web site provides those times, I figured I could put together an Android app listing all the borders a...